From 59fbd17aad12acfa19eb730c4ede67d50962ba9b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 4 Feb 2026 14:05:47 -0800 Subject: rename account route --- src/components/Account.svelte | 9 ++++++++- src/components/Payments.svelte | 3 --- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/components') 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}`); + };
e.stopPropagation()} + onclick={goSettings} > {#if isArk} {:else if p.type === types.ecash} Ecash - {:else if p.type === types.reconcile} - {:else if p.type === types.bitcoin} -- cgit v1.2.3