[PR #5738] [MERGED] fix: make sure cumulative value can not be undefined #6088

Closed
opened 2026-02-28 21:23:45 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5738
Author: @misu-dev
Created: 9/17/2025
Status: Merged
Merged: 9/18/2025
Merged by: @youngcw

Base: masterHead: fix/5729


📝 Commits (2)

  • a671419 fix: make sure cumulative value can not be undefined, which results in NaN
  • 84c372a doc: add release notes

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/graphs/SpendingGraph.tsx (+1 -1)
upcoming-release-notes/5738.md (+6 -0)

📄 Description

The cumulative value can get undefined, which results in NaN.

I have to say that I do not fully understand this component yet. This is more or less a quick fix. The proper behavior should be generally verified.

Fixes https://github.com/actualbudget/actual/issues/5729


🔄 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/5738 **Author:** [@misu-dev](https://github.com/misu-dev) **Created:** 9/17/2025 **Status:** ✅ Merged **Merged:** 9/18/2025 **Merged by:** [@youngcw](https://github.com/youngcw) **Base:** `master` ← **Head:** `fix/5729` --- ### 📝 Commits (2) - [`a671419`](https://github.com/actualbudget/actual/commit/a67141964a1966ebc86e602a7dc230cdd0bf0687) fix: make sure cumulative value can not be undefined, which results in NaN - [`84c372a`](https://github.com/actualbudget/actual/commit/84c372a335aa7567417535fbf831be24fb3165f9) doc: add release notes ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/graphs/SpendingGraph.tsx` (+1 -1) ➕ `upcoming-release-notes/5738.md` (+6 -0) </details> ### 📄 Description The cumulative value can get undefined, which results in NaN. I have to say that I do not fully understand this component yet. This is more or less a quick fix. The proper behavior should be generally verified. Fixes https://github.com/actualbudget/actual/issues/5729 --- <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-02-28 21:23:45 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6088