diff options
| author | Alexander Tumin <iamtakingiteasy@eientei.org> | 2022-06-05 17:10:44 +0300 |
|---|---|---|
| committer | Alexander Tumin <iamtakingiteasy@eientei.org> | 2022-08-11 16:38:24 +0300 |
| commit | 3e7e31d4a98f4cbdfdd3c92d952e58616c027beb (patch) | |
| tree | 94537063d88c18333d04f125de5e5b2f09c818a3 /src/components/settings_modal/helpers/integer_setting.js | |
| parent | 6b80ce122f18633b11fa43ec19ee74aeb5578f6b (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/integer_setting.js')
| -rw-r--r-- | src/components/settings_modal/helpers/integer_setting.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/settings_modal/helpers/integer_setting.js b/src/components/settings_modal/helpers/integer_setting.js index 17dc0e7b..e64d0cee 100644 --- a/src/components/settings_modal/helpers/integer_setting.js +++ b/src/components/settings_modal/helpers/integer_setting.js @@ -36,6 +36,9 @@ export default { methods: { update (e) { set(this.$parent, this.path, parseInt(e.target.value)) + }, + reset () { + set(this.$parent, this.path, this.defaultState) } } } |
