expert settings toggle + server-side settings

This commit is contained in:
Henry Jameson 2022-02-22 23:31:40 +02:00
parent 0300db6c63
commit 9c1814d122
21 changed files with 433 additions and 204 deletions

View file

@ -9,7 +9,8 @@ export default {
props: [
'path',
'disabled',
'options'
'options',
'expert'
],
computed: {
pathDefault () {
@ -28,7 +29,10 @@ export default {
return get(this.$parent, this.pathDefault)
},
isChanged () {
return this.state !== this.defaultState
return !this.path.startsWith('serverSide_') && this.state !== this.defaultState
},
matchesExpertLevel () {
return (this.expert || 0) <= this.$parent.expertLevel
}
},
methods: {