aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-05-19 15:29:32 -0700
committerAdam Soltys <[email protected]>2025-05-19 15:29:32 -0700
commitcddf1d15c16e120b4059751d15287c693b49812c (patch)
tree09164d6be8a0ee4e9bc3ac8cdbe440f0773ea0cd
parentd185ec98246a7d2b6cd5953b93cf061f7710d192 (diff)
downloadcoinos-ui-cddf1d15c16e120b4059751d15287c693b49812c.tar.gz
coinos-ui-cddf1d15c16e120b4059751d15287c693b49812c.zip
restore delete button
-rw-r--r--src/components/Account.svelte16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index ec61850d..744821a3 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -24,6 +24,22 @@
>
<div class="flex">
<Balance {balance} {user} {rate} {id} />
+ {#if id !== user.id}
+ <a
+ href={id === user.id ? "/settings/nostr" : `/account/${id}`}
+ class="contents"
+ aria-label="Settings"
+ >
+ <button class="flex gap-1 mb-auto pb-4 pl-4 ml-auto">
+ <iconify-icon
+ noobserver
+ icon="ph:gear-bold"
+ width="32"
+ aria-label="Settings"
+ ></iconify-icon>
+ </button>
+ </a>
+ {/if}
</div>
<div class="flex justify-center w-full text-xl gap-2">