setting admin settings works now. also now we have draftable settings

This commit is contained in:
Henry Jameson 2023-03-16 23:18:55 +02:00
commit bfd802ad04
14 changed files with 285 additions and 46 deletions

View file

@ -1,15 +1,11 @@
import ModifiedIndicator from './modified_indicator.vue'
import Setting from './setting.js'
export default {
components: {
ModifiedIndicator
},
...Setting,
methods: {
...Setting.methods,
update (e) {
this.configSink(this.path, parseInt(e.target.value))
getValue (e) {
return parseInt(e.target.value)
}
}
}