diff --git a/packages/desktop-client/src/components/accounts/Account.jsx b/packages/desktop-client/src/components/accounts/Account.jsx index 028295f3b27..010949fc6cb 100644 --- a/packages/desktop-client/src/components/accounts/Account.jsx +++ b/packages/desktop-client/src/components/accounts/Account.jsx @@ -754,7 +754,11 @@ class AccountInternal extends PureComponent { }; onReconcile = async balance => { - this.setState({ reconcileAmount: balance }); + this.setState(({ showCleared }) => ({ + reconcileAmount: balance, + showCleared: true, + prevShowCleared: showCleared, + })); }; onDoneReconciling = async () => { @@ -783,7 +787,10 @@ class AccountInternal extends PureComponent { await this.lockTransactions(); } - this.setState({ reconcileAmount: null }); + this.setState({ + reconcileAmount: null, + showCleared: this.state.prevShowCleared, + }); }; onCreateReconciliationTransaction = async diff => { diff --git a/upcoming-release-notes/2589.md b/upcoming-release-notes/2589.md new file mode 100644 index 00000000000..1b353e7d65c --- /dev/null +++ b/upcoming-release-notes/2589.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [matt-fidd] +--- + +Force transaction cleared checkboxes to show on reconcile view