Skip to content

A local-first personal finance app

[Mobile] Fix income categories not changing colors based on active month (#4774)

Joel Jeremy Marquezb4ad639bb5c8
diff --git a/packages/desktop-client/src/components/mobile/budget/IncomeCategoryList.tsx b/packages/desktop-client/src/components/mobile/budget/IncomeCategoryList.tsx
index 66e3b9654d..5697ab068a 100644
--- a/packages/desktop-client/src/components/mobile/budget/IncomeCategoryList.tsx
+++ b/packages/desktop-client/src/components/mobile/budget/IncomeCategoryList.tsx
@@ -133,6 +133,7 @@ export function IncomeCategoryList({
aria-label={t('Income categories')}
items={categories}
dragAndDropHooks={dragAndDropHooks}
+ dependencies={[month, onEditCategory, onBudgetAction]}
>
{category => (
<IncomeCategoryListItem
diff --git a/upcoming-release-notes/4774.md b/upcoming-release-notes/4774.md
new file mode 100644
index 0000000000..1043ff9277
--- /dev/null
+++ b/upcoming-release-notes/4774.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [joel-jeremy]
+---
+
+[Mobile] Fix income categories not changing colors based on active month