diff options
| author | Adam Soltys <[email protected]> | 2023-06-06 13:37:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-06-06 13:37:25 -0700 |
| commit | f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c (patch) | |
| tree | d2793864f22c3dc6c429360c2923e777c86511ac | |
| parent | c711a4ac10e4c9e842811926375c20b607d7164d (diff) | |
| download | coinos-ui-f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c.tar.gz coinos-ui-f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c.zip | |
check for user
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[hash]/+page.svelte | 2 |
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; |
