aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/settings-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-05 18:45:57 -0500
committerGitHub <noreply@github.com>2020-11-05 18:45:57 -0500
commit3216a9e2633ce8b0790f5b4d3e891cb69e4f47c4 (patch)
treefe3586bf32028a733ce0f0916c0261596f0ca073 /ext/bg/js/settings/settings-controller.js
parent5b9d709d4087c7d2b4210319840f6fc7b454d3b1 (diff)
Settings controller changes (#990)
* Make allowSecondarySearchesCheckbox optional * Move getDictionaryInfo into SettingsController
Diffstat (limited to 'ext/bg/js/settings/settings-controller.js')
-rw-r--r--ext/bg/js/settings/settings-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/settings-controller.js b/ext/bg/js/settings/settings-controller.js
index 827d837b..48d1351a 100644
--- a/ext/bg/js/settings/settings-controller.js
+++ b/ext/bg/js/settings/settings-controller.js
@@ -98,6 +98,10 @@ class SettingsController extends EventDispatcher {
return await this.modifyProfileSettings([{action: 'set', path, value}]);
}
+ async getDictionaryInfo() {
+ return await api.getDictionaryInfo();
+ }
+
getOptionsContext() {
return {index: this._profileIndex};
}