[PR #585] [MERGED] Add truthy condition to ambiguousDuplication check #117906

Closed
opened 2026-06-11 13:34:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/585
Author: @gsumpster
Created: 1/29/2023
Status: Merged
Merged: 1/29/2023
Merged by: @MatissJanis

Base: masterHead: gsumpster.fix-ambigous-duplication-for-schedules


📝 Commits (1)

  • 82c706b add truthy check to ambiguousDuplication

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Account.js (+1 -1)

📄 Description

@shall0pass reported a bug where the accounts page would crash if you selected a scheduled transaction, this is because getTransaction will return undefined for a preview ID. We'll check that all transactions is defined before attempting to access is_child on the transaction now.

This was bug was introduced with #582!


🔄 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/585 **Author:** [@gsumpster](https://github.com/gsumpster) **Created:** 1/29/2023 **Status:** ✅ Merged **Merged:** 1/29/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `gsumpster.fix-ambigous-duplication-for-schedules` --- ### 📝 Commits (1) - [`82c706b`](https://github.com/actualbudget/actual/commit/82c706b192c75cef3b74fad46aa8aeebe38b35ec) add truthy check to ambiguousDuplication ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Account.js` (+1 -1) </details> ### 📄 Description @shall0pass reported a bug where the accounts page would crash if you selected a scheduled transaction, this is because getTransaction will return `undefined` for a preview ID. We'll check that all transactions is defined before attempting to access `is_child` on the transaction now. This was bug was introduced with #582! --- <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-06-11 13:34:12 -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#117906