diff options
| author | Adam Soltys <[email protected]> | 2024-12-05 21:26:23 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-05 21:26:23 -0800 |
| commit | 27be378802467c4786a414496ad122e8632c29a2 (patch) | |
| tree | 659cc8a05b1eb3241487751a793fc6236fc6e6c4 /src/components | |
| parent | 96ef62edf1028e1c2773823ddcda52646e41fada (diff) | |
| download | coinos-ui-27be378802467c4786a414496ad122e8632c29a2.tar.gz coinos-ui-27be378802467c4786a414496ad122e8632c29a2.zip | |
conditional amount
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/InvoiceData.svelte | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/InvoiceData.svelte b/src/components/InvoiceData.svelte index ff72ef9a..f9f9068c 100644 --- a/src/components/InvoiceData.svelte +++ b/src/components/InvoiceData.svelte @@ -49,4 +49,6 @@ </div> {/each} -<Amount {amount} {currency} {rate} {locale} {tip} /> +{#if amount > 0} + <Amount {amount} {currency} {rate} {locale} {tip} /> +{/if} |
