diff options
| author | Adam Soltys <[email protected]> | 2023-08-14 19:48:01 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-08-14 19:48:01 -0700 |
| commit | 4e909e835222f87c8c22809466299435d327ff3c (patch) | |
| tree | da10ba86071e2c5811dbfbc2a31349c9adc034d9 | |
| parent | d98e6bd46920b060abc2560c3c3aecd6f8f52a0f (diff) | |
| download | coinos-ui-4e909e835222f87c8c22809466299435d327ff3c.tar.gz coinos-ui-4e909e835222f87c8c22809466299435d327ff3c.zip | |
fix payment date buttons bug
| -rw-r--r-- | src/routes/(app)/[username]/payments/[...page]/+page.svelte | 2 |
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 }, |
