diff options
| author | Adam Soltys <[email protected]> | 2024-11-21 22:56:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-21 22:56:35 -0800 |
| commit | 69c0b405a72754b84f831f30a01b8272d96b1afe (patch) | |
| tree | 468233f260d41d08685212729cc94b5dc661a570 /src/routes/(app)/ecash | |
| parent | e759fce9868291682d1ff6a898ec40b45362d573 (diff) | |
| download | coinos-ui-69c0b405a72754b84f831f30a01b8272d96b1afe.tar.gz coinos-ui-69c0b405a72754b84f831f30a01b8272d96b1afe.zip | |
ecash requests
Diffstat (limited to 'src/routes/(app)/ecash')
| -rw-r--r-- | src/routes/(app)/ecash/[id]/[...version]/+page.svelte | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/routes/(app)/ecash/[id]/[...version]/+page.svelte b/src/routes/(app)/ecash/[id]/[...version]/+page.svelte index 47126c78..7cc93455 100644 --- a/src/routes/(app)/ecash/[id]/[...version]/+page.svelte +++ b/src/routes/(app)/ecash/[id]/[...version]/+page.svelte @@ -7,7 +7,7 @@ let { data, form } = $props(); let link = $page.url.href; - let { id, total, version, token, external, spent } = $state(data); + let { id, total, token, external, spent } = $state(data); </script> {#if form?.error} @@ -57,20 +57,4 @@ > {token} </button> - - {#if version === 4} - <a data-sveltekit-reload href={`/ecash/${id}/3`} class="contents"> - <button type="button" class="btn"> - <iconify-icon icon="ph:gear-bold" width="32"></iconify-icon> - <div class="my-auto">{$t("payments.legacyVersion")}</div> - </button> - </a> - {:else} - <a data-sveltekit-reload href={`/ecash/${id}`} class="contents"> - <button type="button" class="btn"> - <iconify-icon icon="ph:gear-bold" width="32"></iconify-icon> - <div class="my-auto">{$t("payments.newVersion")}</div> - </button> - </a> - {/if} </div> |
