+
+ {#snippet triggerLabel()}
+ {m["account.passkeys.add.title"]()}
+ {/snippet}
+ SetupPasskeyForm?
+
+
+ {#if items.length > 0}
+
+ {#each items as item (item.id)}
+ {
+ curItem = item;
+ openDialog("edit");
+ },
+ },
+ {
+ type: "divider",
+ },
+ {
+ type: "action",
+ icon: Trash2,
+ label: m["delete"](),
+ isDestructive: true,
+ onClick: () => {
+ curItem = item;
+ openDialog("delete");
+ },
+ },
+ ]}
+ />
+ {/each}
+
+
+ {#if curItem}
+ Edit
+ {/if}
+
+
+ {#if curItem}
+ Delete
+ {/if}
+
+ {:else}
+
No passkeys found
+ {/if}
+
+ {/await}