Skip to content

Commit

Permalink
Merge branch 'master' into fix-2575
Browse files Browse the repository at this point in the history
  • Loading branch information
ttlgeek authored Apr 13, 2024
2 parents 64d9ac6 + e88ea69 commit 21ab924
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/desktop-client/src/components/accounts/Account.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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 => {
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2589.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---

Force transaction cleared checkboxes to show on reconcile view

0 comments on commit 21ab924

Please sign in to comment.