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 | 5453bea96f32b7d9a4c7acfbbc63746c7132a2b6 (patch) | |
| tree | d2793864f22c3dc6c429360c2923e777c86511ac /src | |
| parent | 6a9832d0f689f9504dacf90965650730aa94b2d3 (diff) | |
| download | coinos-ui-5453bea96f32b7d9a4c7acfbbc63746c7132a2b6.tar.gz coinos-ui-5453bea96f32b7d9a4c7acfbbc63746c7132a2b6.zip | |
check for user
Diffstat (limited to 'src')
| -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; |
