:electron: Fix Load Backup backup modal (#4853)

* fix backup screen

* release notes
This commit is contained in:
Michael Clark
2025-04-20 17:15:24 +01:00
committed by GitHub
parent eebdbdf34e
commit 54d9f0ff41
2 changed files with 7 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export function getMenu(
if (focusedWindow && budgetId) {
if (focusedWindow.webContents.getTitle() === 'Actual') {
focusedWindow.webContents.executeJavaScript(
`__actionsForMenu.replaceModal('load-backup', { budgetId: '${budgetId}' })`,
`__actionsForMenu.replaceModal({ modal: { name: 'load-backup', options: { budgetId: '${budgetId}' } } })`,
);
}
}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MikesGlitch]
---
Fix load backup modal giving a blank screen when opened in the desktop app