[PR #2580] Electron: Fix load backup functionality #4380

Closed
opened 2026-02-28 20:55:07 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/2580

State: closed
Merged: Yes


The "load backup" feature isn't working in Electron - it throws a fatal error.

This is because the menu item isn't passing in the budget ID related to the backup (required parameter).

The fix is to pass the budget ID into the menu item and push the load-backup modal with it.

Error:

TypeError: Cannot read properties of undefined (reading 'budgetId') at app://actual/static/js/index.h17Pcr58.js:202:122692 at Array.map (<anonymous>) at mxe (app://actual/static/js/index.h17Pcr58.js:202:121619) at Gx

image

This is it working:
image

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2580 **State:** closed **Merged:** Yes --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> The "load backup" feature isn't working in Electron - it throws a fatal error. This is because the menu item isn't passing in the budget ID related to the backup (required parameter). The fix is to pass the budget ID into the menu item and push the load-backup modal with it. **Error:** ```` TypeError: Cannot read properties of undefined (reading 'budgetId') at app://actual/static/js/index.h17Pcr58.js:202:122692 at Array.map (<anonymous>) at mxe (app://actual/static/js/index.h17Pcr58.js:202:121619) at Gx ```` ![image](https://github.com/actualbudget/actual/assets/5285928/a53b0d78-ebc3-466e-8719-b3a049f6c339) This is it working: ![image](https://github.com/actualbudget/actual/assets/5285928/49972a84-a3d5-40cb-a1c6-fc751f2c9f7f)
GiteaMirror added the pull-request label 2026-02-28 20:55:07 -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#4380