diff options
| -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} |
