not set destination amount automatically when lack of exchange rates data

This commit is contained in:
MaysWind
2024-12-07 16:54:45 +08:00
parent d044f938e3
commit 5003f8b3a2
+2
View File
@@ -649,6 +649,8 @@ export const useTransactionsStore = defineStore('transactions', {
if (isNumber(exchangedNewValue)) {
newValue = Math.floor(exchangedNewValue);
newValue = getAmountWithDecimalNumberCount(newValue, decimalNumberCount);
} else {
return;
}
}