diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-05 18:45:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 18:45:57 -0500 |
commit | 3216a9e2633ce8b0790f5b4d3e891cb69e4f47c4 (patch) | |
tree | fe3586bf32028a733ce0f0916c0261596f0ca073 /ext/bg/js/settings/settings-controller.js | |
parent | 5b9d709d4087c7d2b4210319840f6fc7b454d3b1 (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.js | 4 |
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}; } |