A local-first personal finance app
:electron: Fix Load Backup backup modal (#4853)
Michael Clark54d9f0ff416e
diff --git a/packages/desktop-electron/menu.ts b/packages/desktop-electron/menu.tsindex 5897cd22d0..5afc976f17 100644--- a/packages/desktop-electron/menu.ts+++ b/packages/desktop-electron/menu.ts@@ -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}' } } })`,);}}diff --git a/upcoming-release-notes/4853.md b/upcoming-release-notes/4853.mdnew file mode 100644index 0000000000..950e3d7f43--- /dev/null+++ b/upcoming-release-notes/4853.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [MikesGlitch]+---++Fix load backup modal giving a blank screen when opened in the desktop app