mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
:electron: Fix Load Backup backup modal (#4853)
* fix backup screen * release notes
This commit is contained in:
@@ -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}' } } })`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
6
upcoming-release-notes/4853.md
Normal file
6
upcoming-release-notes/4853.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MikesGlitch]
|
||||
---
|
||||
|
||||
Fix load backup modal giving a blank screen when opened in the desktop app
|
||||
Reference in New Issue
Block a user