fix(client_balance): fix if value is 0
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3b5b490a78
commit
9287f25f24
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue