Skip to content

Commit

Permalink
More test/bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoming committed Feb 3, 2024
1 parent a9b29e7 commit d2e9796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ function NewTransaction({
key={transaction.id}
editing={editingTransaction === transaction.id}
transaction={transaction}
subtransactions={childTransactions.length ? childTransactions : null}
subtransactions={transaction.is_parent ? childTransactions : null}
showAccount={showAccount}
showCategory={showCategory}
showBalance={showBalance}
Expand Down
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/accounts/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ export function execActions(actions: Action[], transaction) {
) + 1;

let update = execNonSplitActions(parentActions, transaction);
if (!prefs.getPrefs()['flags.splitsInRules'] || totalSplitCount === 1) {
if (!prefs.getPrefs()?.['flags.splitsInRules'] || totalSplitCount === 1) {
return update;
}

Expand Down

0 comments on commit d2e9796

Please sign in to comment.