Frontend: Don't save settings when they are disabled #916
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
d0cb7c59e1
commit
1c13087302
|
@ -144,7 +144,9 @@ export default {
|
|||
})
|
||||
},
|
||||
onChange() {
|
||||
this.settings.save();
|
||||
if (!this.$config.values.disable.settings) {
|
||||
this.settings.save();
|
||||
}
|
||||
},
|
||||
onFocus() {
|
||||
if (this.dirs.length > 2 || this.loading) {
|
||||
|
|
|
@ -142,7 +142,9 @@ export default {
|
|||
});
|
||||
},
|
||||
onChange() {
|
||||
this.settings.save();
|
||||
if (!this.$config.values.disable.settings) {
|
||||
this.settings.save();
|
||||
}
|
||||
},
|
||||
onFocus() {
|
||||
if (this.dirs.length > 2 || this.loading) {
|
||||
|
|
Loading…
Reference in a new issue