aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-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}