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 | 04232a4f32fdd7a18846f852627c20cee675a344 (patch) | |
| tree | 659cc8a05b1eb3241487751a793fc6236fc6e6c4 /src/components | |
| parent | c38019ba5a28068bf07bfbc088c3c317c23afae0 (diff) | |
| download | coinos-ui-04232a4f32fdd7a18846f852627c20cee675a344.tar.gz coinos-ui-04232a4f32fdd7a18846f852627c20cee675a344.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} |
