[PR #2528] [MERGED] [WIP] Fix custom reports cold-reload crash #46168

Closed
opened 2026-04-26 08:15:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2528
Author: @qedi-r
Created: 3/30/2024
Status: Merged
Merged: 3/30/2024
Merged by: @carkom

Base: masterHead: fix-custom-chart-reload-bug


📝 Commits (3)

  • 34bd7ae when custom reports were cold-reloaded, the selections would be null crashing the page
  • c61bb8c add release notes for PR
  • d6f0b8e fix typo in release note file name

📊 Changes

2 files changed (+11 additions, -0 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/CategorySelector.tsx (+5 -0)
upcoming-release-notes/2528.md (+6 -0)

📄 Description

When custom reports were cold-reloaded, the selections would be null and the page would crash.

Originally reported in https://github.com/actualbudget/actual/pull/2506, though this is more of a proper fix, as that one deselected all categories by default. This preserves having them selected by default.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/2528 **Author:** [@qedi-r](https://github.com/qedi-r) **Created:** 3/30/2024 **Status:** ✅ Merged **Merged:** 3/30/2024 **Merged by:** [@carkom](https://github.com/carkom) **Base:** `master` ← **Head:** `fix-custom-chart-reload-bug` --- ### 📝 Commits (3) - [`34bd7ae`](https://github.com/actualbudget/actual/commit/34bd7ae901285a38224f1e5a06a0f18109172784) when custom reports were cold-reloaded, the selections would be null crashing the page - [`c61bb8c`](https://github.com/actualbudget/actual/commit/c61bb8c33869bf28c364b8b6003ffa021c7e9359) add release notes for PR - [`d6f0b8e`](https://github.com/actualbudget/actual/commit/d6f0b8e9cc5ba80467fe2797194c64e9951b0150) fix typo in release note file name ### 📊 Changes **2 files changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/CategorySelector.tsx` (+5 -0) ➕ `upcoming-release-notes/2528.md` (+6 -0) </details> ### 📄 Description When custom reports were cold-reloaded, the selections would be null and the page would crash. Originally reported in https://github.com/actualbudget/actual/pull/2506, though this is more of a proper fix, as that one deselected all categories by default. This preserves having them selected by default. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-26 08:15:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#46168