aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ecash
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-21 22:56:09 -0800
committerAdam Soltys <[email protected]>2024-11-21 22:56:35 -0800
commitff3bbbe6a1814ab5b17386eb630b5dd3111578eb (patch)
tree468233f260d41d08685212729cc94b5dc661a570 /src/routes/(app)/ecash
parent38660e024c055952180bfa3f9067274cf2e0d6ed (diff)
downloadcoinos-ui-ff3bbbe6a1814ab5b17386eb630b5dd3111578eb.tar.gz
coinos-ui-ff3bbbe6a1814ab5b17386eb630b5dd3111578eb.zip
ecash requests
Diffstat (limited to 'src/routes/(app)/ecash')
-rw-r--r--src/routes/(app)/ecash/[id]/[...version]/+page.svelte18
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>