diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-05-30 16:23:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 16:23:56 -0400 |
commit | 976a200ffc65e94f0246392f6b29505f1eb4f16c (patch) | |
tree | bc33257947294a1ffbccfb036203c0a2f842670d /ext/mixed/js/api.js | |
parent | c8810bc92972d14858cdad637eb0a078cae46349 (diff) |
Backup update (#582)
* Add function to assign all settings
* Update how settings backups are restored
* Remove page reload
* Update profile index after importing
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 2d5ad9e7..075ea545 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -176,6 +176,10 @@ const api = (() => { return this._invoke('getSettings', {targets}); } + setAllSettings(value, source) { + return this._invoke('setAllSettings', {value, source}); + } + // Invoke functions with progress importDictionaryArchive(archiveContent, details, onProgress) { |