aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-08-14 19:48:01 -0700
committerAdam Soltys <[email protected]>2023-08-14 19:48:01 -0700
commit4e909e835222f87c8c22809466299435d327ff3c (patch)
treeda10ba86071e2c5811dbfbc2a31349c9adc034d9
parentd98e6bd46920b060abc2560c3c3aecd6f8f52a0f (diff)
downloadcoinos-ui-4e909e835222f87c8c22809466299435d327ff3c.tar.gz
coinos-ui-4e909e835222f87c8c22809466299435d327ff3c.zip
fix payment date buttons bug
-rw-r--r--src/routes/(app)/[username]/payments/[...page]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/payments/[...page]/+page.svelte b/src/routes/(app)/[username]/payments/[...page]/+page.svelte
index 611da44a..69f51f37 100644
--- a/src/routes/(app)/[username]/payments/[...page]/+page.svelte
+++ b/src/routes/(app)/[username]/payments/[...page]/+page.svelte
@@ -20,7 +20,7 @@
return `/p/${p.id}`;
};
- let presets = [
+ $: presets = [
{ title: $t('payments.day'), start: sub(new Date(), { days: 1 }), end: null },
{ title: $t('payments.week'), start: sub(new Date(), { days: 7 }), end: null },
{ title: $t('payments.month'), start: sub(new Date(), { months: 1 }), end: null },