aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/helpers/choice_setting.js
diff options
context:
space:
mode:
authorAlexander Tumin <iamtakingiteasy@eientei.org>2022-06-05 17:10:44 +0300
committerAlexander Tumin <iamtakingiteasy@eientei.org>2022-08-11 16:38:24 +0300
commit3e7e31d4a98f4cbdfdd3c92d952e58616c027beb (patch)
tree94537063d88c18333d04f125de5e5b2f09c818a3 /src/components/settings_modal/helpers/choice_setting.js
parent6b80ce122f18633b11fa43ec19ee74aeb5578f6b (diff)
Allow column width configuration
Group column configuration in settings Column width configuration: do not act on defaults
Diffstat (limited to 'src/components/settings_modal/helpers/choice_setting.js')
-rw-r--r--src/components/settings_modal/helpers/choice_setting.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/settings_modal/helpers/choice_setting.js b/src/components/settings_modal/helpers/choice_setting.js
index 4677d4c1..3da559fe 100644
--- a/src/components/settings_modal/helpers/choice_setting.js
+++ b/src/components/settings_modal/helpers/choice_setting.js
@@ -43,6 +43,9 @@ export default {
methods: {
update (e) {
set(this.$parent, this.path, e)
+ },
+ reset () {
+ set(this.$parent, this.path, this.defaultState)
}
}
}