diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Account.svelte | 9 | ||||
| -rw-r--r-- | src/components/Payments.svelte | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte index 86eb0f74..04ff97ae 100644 --- a/src/components/Account.svelte +++ b/src/components/Account.svelte @@ -65,6 +65,13 @@ e.preventDefault(); setAccount(e, "/payments"); }; + + let goSettings = (e) => { + e.preventDefault(); + e.stopPropagation(); + document.cookie = `aid=${id}; path=/; max-age=86400`; + goto(`/account/${id}`); + }; </script> <div @@ -81,7 +88,7 @@ href={`/account/${id}`} class="font-bold text-lg opacity-60 hover:opacity-100 transition-opacity flex items-center gap-2 shrink-0" aria-label="Account settings" - onclick={(e) => e.stopPropagation()} + onclick={goSettings} > {#if isArk} <img diff --git a/src/components/Payments.svelte b/src/components/Payments.svelte index 16033959..d27a59c1 100644 --- a/src/components/Payments.svelte +++ b/src/components/Payments.svelte @@ -92,9 +92,6 @@ ></iconify-icon> {:else if p.type === types.ecash} <img src="/images/cash.png" class="w-12" alt="Ecash" /> - {:else if p.type === types.reconcile} - <iconify-icon noobserver icon="ph:scales-bold" width="32" - ></iconify-icon> {:else if p.type === types.bitcoin} <iconify-icon noobserver icon="logos:bitcoin" class="text-3xl" ></iconify-icon> |
