Skip to content

A local-first personal finance app

[Mobile] Fix category transactions screen not showing child transactions (#4998)

Joel Jeremy Marquez3f4ddfdfe018
diff --git a/packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx b/packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx
index 1bfde2240a..3f9bd83a33 100644
--- a/packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx
+++ b/packages/desktop-client/src/components/mobile/budget/CategoryTransactions.tsx
@@ -144,8 +144,7 @@ function TransactionListWithPreviews({
});
const transactionsToDisplay = !isSearching
- ? // Do not render child transactions in the list, unless searching
- previewTransactions.concat(transactions.filter(t => !t.is_child))
+ ? previewTransactions.concat(transactions)
: transactions;
return (
diff --git a/upcoming-release-notes/4998.md b/upcoming-release-notes/4998.md
new file mode 100644
index 0000000000..61296ff846
--- /dev/null
+++ b/upcoming-release-notes/4998.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [joel-jeremy]
+---
+
+[Mobile] Fix category transactions screen not showing child transactions