fix(client_balance): fix if value is 0
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2021-12-22 09:46:18 +01:00
parent 3b5b490a78
commit 9287f25f24
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Controller extends Dialog {
} }
set amountToReturn(value) { set amountToReturn(value) {
if (!value) return; if (isNaN(value)) return;
value = value.toFixed(2); value = value.toFixed(2);