Frontend: Don't save settings when they are disabled #916

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2021-01-18 22:06:47 +01:00
parent d0cb7c59e1
commit 1c13087302
2 changed files with 6 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {