diff options
| author | Adam Soltys <[email protected]> | 2024-09-26 17:21:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-26 17:21:20 -0700 |
| commit | 4fbd31391b97e4cacc409a7019f8ce45a7f8b278 (patch) | |
| tree | 34e66350250ff6c50e1e425cdf0270dfa6565bc2 | |
| parent | effdd69546fcc519437d4e487b56ba7aa4772500 (diff) | |
| download | coinos-ui-4fbd31391b97e4cacc409a7019f8ce45a7f8b278.tar.gz coinos-ui-4fbd31391b97e4cacc409a7019f8ce45a7f8b278.zip | |
fix tip prompt issue
| -rw-r--r-- | src/routes/(app)/invoice/[id]/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte index d0b99e23..d8b7559f 100644 --- a/src/routes/(app)/invoice/[id]/+page.svelte +++ b/src/routes/(app)/invoice/[id]/+page.svelte @@ -82,7 +82,7 @@ send("subscribe", invoice); }); - if ($amountPrompt && tip === null) toggleAmount(); + if ($amountPrompt && !amount) toggleAmount(); } }); |
