limits tab, backend descriptions
This commit is contained in:
parent
ab5408d36e
commit
332ad77e35
13 changed files with 370 additions and 25 deletions
|
|
@ -59,6 +59,16 @@ export default {
|
|||
return value
|
||||
}
|
||||
},
|
||||
backendDescription () {
|
||||
console.log(get(this.$store.state.adminSettings.descriptions, this.path))
|
||||
return get(this.$store.state.adminSettings.descriptions, this.path)
|
||||
},
|
||||
backendDescriptionLabel () {
|
||||
return this.backendDescription.label
|
||||
},
|
||||
backendDescriptionDescription () {
|
||||
return this.backendDescription.description
|
||||
},
|
||||
shouldBeDisabled () {
|
||||
const parentValue = this.parentPath !== undefined ? get(this.configSource, this.parentPath) : null
|
||||
return this.disabled || (parentValue !== null ? (this.parentInvert ? parentValue : !parentValue) : false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue