aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-10-24 10:07:13 +0000
committerGitHub <noreply@github.com>2023-10-24 10:07:13 +0000
commitd392c78fbafefeea8cbb64d9db2c369f2d509a82 (patch)
tree5212f13cff42e077027f6e93fe688ab4c35db520 /ext/js/data
parentc3148c6cf0522c5a3b3f3db6e495f401050c73f7 (diff)
parent5bf81019882901fa6359bb7337ce538991ec9075 (diff)
Merge pull request #284 from praschke/update-options-once
save options after updating them
Diffstat (limited to 'ext/js/data')
-rw-r--r--ext/js/data/options-util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js
index 1f2ffb05..e0cd0362 100644
--- a/ext/js/data/options-util.js
+++ b/ext/js/data/options-util.js
@@ -114,6 +114,7 @@ class OptionsUtil {
if (typeof options !== 'undefined') {
options = await this.update(options);
+ await this.save(options);
} else {
options = this.getDefault();
}