aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-06-06 13:37:25 -0700
committerAdam Soltys <[email protected]>2023-06-06 13:37:25 -0700
commitf4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c (patch)
treed2793864f22c3dc6c429360c2923e777c86511ac /src
parentc711a4ac10e4c9e842811926375c20b607d7164d (diff)
downloadcoinos-ui-f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c.tar.gz
coinos-ui-f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c.zip
check for user
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/[username]/invoice/[hash]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/invoice/[hash]/+page.svelte b/src/routes/(app)/[username]/invoice/[hash]/+page.svelte
index dbf36694..40166ad4 100644
--- a/src/routes/(app)/[username]/invoice/[hash]/+page.svelte
+++ b/src/routes/(app)/[username]/invoice/[hash]/+page.svelte
@@ -35,7 +35,7 @@
user: { username, currency }
} = invoice;
- let showQr = invoice.uid === user.id;
+ $: showQr = invoice.uid === user?.id;
$: src = sm;