A local-first personal finance app
Ask for confirmation when editing date of a locked transaction (#2134)
Jakub Kuczys83d2472a550b
diff --git a/packages/desktop-client/src/components/accounts/Account.jsx b/packages/desktop-client/src/components/accounts/Account.jsxindex 3787191629..f9fcda5d5e 100644--- a/packages/desktop-client/src/components/accounts/Account.jsx+++ b/packages/desktop-client/src/components/accounts/Account.jsx@@ -864,7 +864,7 @@ class AccountInternal extends PureComponent {}};- if (name === 'amount' || name === 'payee' || name === 'account') {+ if (name === 'amount' || name === 'payee' || name === 'account' || name === 'date') {const { data } = await runQuery(q('transactions').filter({ id: { $oneof: ids }, reconciled: true })diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx b/packages/desktop-client/src/components/transactions/TransactionsTable.jsxindex a1009c1aac..d97d77dbd3 100644--- a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx@@ -754,7 +754,8 @@ const Transaction = memo(function Transaction(props) {(name === 'credit' ||name === 'debit' ||name === 'payee' ||- name === 'account')+ name === 'account' ||+ name === 'date')) {if (showReconciliationWarning === false) {setShowReconciliationWarning(true);diff --git a/upcoming-release-notes/2134.md b/upcoming-release-notes/2134.mdnew file mode 100644index 0000000000..de428dbadd--- /dev/null+++ b/upcoming-release-notes/2134.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [Jackenmen]+---++Ask for confirmation when editing date of a locked transaction