From f4da9e0f7d33329cf2ed164a22dd13c67b6cbe6c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 6 Jun 2023 13:37:25 -0700 Subject: check for user --- src/routes/(app)/[username]/invoice/[hash]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes') 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; -- cgit v1.2.3 ver.git/'>coinos-server.git
coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)coinos
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
blob: 23c811c10abc1aebe886912b615b0d1771812cef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46