aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/data')
-rw-r--r--ext/js/data/options-util.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js
index 1105dfed..d7f09135 100644
--- a/ext/js/data/options-util.js
+++ b/ext/js/data/options-util.js
@@ -457,7 +457,8 @@ class OptionsUtil {
{async: false, update: this._updateVersion5.bind(this)},
{async: true, update: this._updateVersion6.bind(this)},
{async: false, update: this._updateVersion7.bind(this)},
- {async: true, update: this._updateVersion8.bind(this)}
+ {async: true, update: this._updateVersion8.bind(this)},
+ {async: false, update: this._updateVersion9.bind(this)}
];
}
@@ -736,4 +737,13 @@ class OptionsUtil {
}
return options;
}
+
+ _updateVersion9(options) {
+ // Version 9 changes:
+ // Added general.frequencyDisplayMode.
+ for (const profile of options.profiles) {
+ profile.options.general.frequencyDisplayMode = 'split-tags-grouped';
+ }
+ return options;
+ }
}