diff --git a/frontend/src/lib/components/ui/alert/alert.svelte b/frontend/src/lib/components/ui/alert/alert.svelte index 93877a3..6fc0c1f 100644 --- a/frontend/src/lib/components/ui/alert/alert.svelte +++ b/frontend/src/lib/components/ui/alert/alert.svelte @@ -1,17 +1,43 @@ - +{#if isVisible} + +{/if} diff --git a/frontend/src/routes/settings/account/+page.svelte b/frontend/src/routes/settings/account/+page.svelte index 6050343..db7bd35 100644 --- a/frontend/src/routes/settings/account/+page.svelte +++ b/frontend/src/routes/settings/account/+page.svelte @@ -62,9 +62,20 @@ >Please add a passkey to prevent losing access to your account. +{:else if passkeys.length == 1} + + + Single Passkey Configured + It is recommended to add more than one passkey to avoid loosing access to your account. + {/if} -
+
Account Details