diff options
| author | Adam Soltys <[email protected]> | 2024-11-29 23:32:08 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-29 23:32:08 -0800 |
| commit | 42cc753e86a3b7c5020206dda68bbb81bf15da2b (patch) | |
| tree | 9af9534cf6d40a9a8ea1888436432db100cb6ab0 /src/components/Balance.svelte | |
| parent | 68bb0a2ec6ec407e42e4c82d0be00cf13db21c94 (diff) | |
| download | coinos-ui-42cc753e86a3b7c5020206dda68bbb81bf15da2b.tar.gz coinos-ui-42cc753e86a3b7c5020206dda68bbb81bf15da2b.zip | |
load more contacts
Diffstat (limited to 'src/components/Balance.svelte')
| -rw-r--r-- | src/components/Balance.svelte | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte index a80664dc..fd5ff3db 100644 --- a/src/components/Balance.svelte +++ b/src/components/Balance.svelte @@ -26,8 +26,9 @@ <iconify-icon icon="ph:eye-slash-bold" width="32"></iconify-icon> <div class="my-auto">{$t("user.showBalance")}</div> </button> - {:else} - + {:else if !isNaN(rate)} <Amount amount={balance} {rate} {currency} {locale} align="left" /> + {:else} + <div class="text-gray-200">—</div> {/if} </div> |
