diff options
| author | Adam Soltys <[email protected]> | 2024-08-19 11:46:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-19 11:46:18 -0700 |
| commit | 9dfe907fa4188af90ccefe90abf8bd00894a391a (patch) | |
| tree | 6413ba544a7bd7381d72b982922ec92b95b34dd1 /src | |
| parent | df01ee8fdde2b9c6c617a1e5ed0306134c18219b (diff) | |
| download | coinos-ui-9dfe907fa4188af90ccefe90abf8bd00894a391a.tar.gz coinos-ui-9dfe907fa4188af90ccefe90abf8bd00894a391a.zip | |
check for user
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[id]/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/invoice/[id]/+page.svelte b/src/routes/(app)/[username]/invoice/[id]/+page.svelte index f28faf99..169d8436 100644 --- a/src/routes/(app)/[username]/invoice/[id]/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[id]/+page.svelte @@ -207,7 +207,7 @@ </div> </button> - {#if user.id === invoice.user.id} + {#if user?.id === invoice?.user?.id} <button class="w-full flex justify-center rounded-2xl border py-5 px-6 hover:opacity-80 text-xl" on:click={toggleAmount} |
