diff options
| author | Adam Soltys <[email protected]> | 2025-05-18 08:17:59 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-05-18 08:17:59 -0700 |
| commit | d185ec98246a7d2b6cd5953b93cf061f7710d192 (patch) | |
| tree | 059061a0236c6d4206551a576eed4ef02a774751 | |
| parent | 63423dcf683bc27c0cc0977c13efc2c500f1d79a (diff) | |
| download | coinos-ui-d185ec98246a7d2b6cd5953b93cf061f7710d192.tar.gz coinos-ui-d185ec98246a7d2b6cd5953b93cf061f7710d192.zip | |
max
| -rw-r--r-- | src/components/Balance.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte index 4f3350dd..dfa5f616 100644 --- a/src/components/Balance.svelte +++ b/src/components/Balance.svelte @@ -30,7 +30,7 @@ {:else if !isNaN(rate)} <div class="flex gap-4"> <Amount - amount={Math.min(balance - (id === user.id ? (locked || 0) : 0), 0)} + amount={Math.max(balance - (id === user.id ? (locked || 0) : 0), 0)} {rate} {currency} {locale} |
