better frontends tab, now you can set default frontend
This commit is contained in:
parent
7bb28bb23c
commit
ac75d051b7
11 changed files with 179 additions and 64 deletions
|
|
@ -61,7 +61,7 @@ export default {
|
|||
// TODO allow passing shared draft object?
|
||||
get () {
|
||||
if (this.realSource === 'admin') {
|
||||
return get(this.$store.state.adminSettings.draft, this.path)
|
||||
return get(this.$store.state.adminSettings.draft, this.canonPath)
|
||||
} else {
|
||||
return this.localDraft
|
||||
}
|
||||
|
|
@ -75,7 +75,7 @@ export default {
|
|||
}
|
||||
},
|
||||
state () {
|
||||
const value = get(this.configSource, this.path)
|
||||
const value = get(this.configSource, this.canonPath)
|
||||
if (value === undefined) {
|
||||
return this.defaultState
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue