summaryrefslogtreecommitdiff
path: root/ext/js/pages/info-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-08-20 11:31:50 -0400
committerGitHub <noreply@github.com>2022-08-20 11:31:50 -0400
commit5c267f4bb772bb6c67576f2b40234a356c040550 (patch)
tree47ed99f483dcbb558f1976551cb511775a241001 /ext/js/pages/info-main.js
parent9436928e3d89110d042e39067f5591c48e8500ea (diff)
Profile index fixes (#2207)
* Update settings controller to consistently initialize * Allow profile index to be reset if an error occurs * Update message handler to be async * Fix error when deleting the current profile
Diffstat (limited to 'ext/js/pages/info-main.js')
-rw-r--r--ext/js/pages/info-main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/info-main.js b/ext/js/pages/info-main.js
index 8e83b4e8..54e6ff45 100644
--- a/ext/js/pages/info-main.js
+++ b/ext/js/pages/info-main.js
@@ -111,7 +111,7 @@ function getOperatingSystemDisplayName(os) {
})();
const settingsController = new SettingsController();
- settingsController.prepare();
+ await settingsController.prepare();
const backupController = new BackupController(settingsController, null);
await backupController.prepare();