aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-05 21:26:23 -0800
committerAdam Soltys <[email protected]>2024-12-05 21:26:23 -0800
commit04232a4f32fdd7a18846f852627c20cee675a344 (patch)
tree659cc8a05b1eb3241487751a793fc6236fc6e6c4 /src
parentc38019ba5a28068bf07bfbc088c3c317c23afae0 (diff)
downloadcoinos-ui-04232a4f32fdd7a18846f852627c20cee675a344.tar.gz
coinos-ui-04232a4f32fdd7a18846f852627c20cee675a344.zip
conditional amount
Diffstat (limited to 'src')
-rw-r--r--src/components/InvoiceData.svelte4
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}