diff --git a/src/stores/transaction.js b/src/stores/transaction.js index 5e53eece..bd6aba6f 100644 --- a/src/stores/transaction.js +++ b/src/stores/transaction.js @@ -352,7 +352,7 @@ export const useTransactionsStore = defineStore('transactions', { } } - if ((!sourceAccount || !destinationAccount || transaction.destinationAmount === oldValue) && + if ((!sourceAccount || !destinationAccount || transaction.destinationAmount === oldValue || transaction.destinationAmount === 0) && (stringCurrencyToNumeric(transactionConstants.minAmount) <= newValue && newValue <= stringCurrencyToNumeric(transactionConstants.maxAmount))) { transaction.destinationAmount = newValue;