summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-13 11:29:32 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-14 22:34:33 -0500
commit1d4ad6e74446b250c4627e0f7790e5ff85171f3c (patch)
tree47c8c63a61e890b99e49124be3a38bb7c2386cbf /ext/bg/js/settings/main.js
parente03380108983ee5ff82b4b10b08b31c78208370c (diff)
Fix storage stats update error during dictionary deletion (#1106)
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r--ext/bg/js/settings/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index 635549f8..09df19e4 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -83,10 +83,10 @@ async function setupEnvironmentInfo() {
const profileController = new ProfileController(settingsController, modalController);
profileController.prepare();
- const dictionaryController = new DictionaryController(settingsController, modalController, storageController);
+ const dictionaryController = new DictionaryController(settingsController, modalController, storageController, null);
dictionaryController.prepare();
- const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController);
+ const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController, null);
dictionaryImportController.prepare();
const ankiController = new AnkiController(settingsController);