From 998efb9447da6f8ce97956cbe83d6e8a3c18cf53 Mon Sep 17 00:00:00 2001
From: DJ Mountney <david@twkie.net>
Date: Sat, 9 Mar 2024 13:19:30 -0800
Subject: [PATCH] Fix budget key tab navigation (#2452)

* Fix budget key tab navigation

- restore the collapsed property

* Add release note
---
 .../desktop-client/src/components/budget/BudgetTable.jsx    | 2 ++
 upcoming-release-notes/2452.md                              | 6 ++++++
 2 files changed, 8 insertions(+)
 create mode 100644 upcoming-release-notes/2452.md

diff --git a/packages/desktop-client/src/components/budget/BudgetTable.jsx b/packages/desktop-client/src/components/budget/BudgetTable.jsx
index 48c701732..db7826460 100644
--- a/packages/desktop-client/src/components/budget/BudgetTable.jsx
+++ b/packages/desktop-client/src/components/budget/BudgetTable.jsx
@@ -268,8 +268,10 @@ class BudgetTableInner extends Component {
 
 const mapStateToProps = state => {
   const { grouped: categoryGroups } = state.queries.categories;
+  const collapsed = state.prefs.local?.['budget.collapsed'] || [];
   return {
     categoryGroups,
+    collapsed,
   };
 };
 
diff --git a/upcoming-release-notes/2452.md b/upcoming-release-notes/2452.md
new file mode 100644
index 000000000..d747e6bac
--- /dev/null
+++ b/upcoming-release-notes/2452.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [twk3]
+---
+
+Fix budget key tab navigation.
-- 
GitLab