mirror of https://github.com/rancher/dashboard.git
PR changes - switch resource list to canEditYaml
This commit is contained in:
parent
df8fe73dd7
commit
c4c40a580a
|
|
@ -98,7 +98,7 @@ export default {
|
|||
return this.isYamlCreatable;
|
||||
}
|
||||
|
||||
return this.schema && this._isCreatable && this.$store.getters['type-map/optionsFor'](this.resource).canYaml;
|
||||
return this.schema && this._isCreatable && this.$store.getters['type-map/optionsFor'](this.resource).canEditYaml;
|
||||
},
|
||||
|
||||
_isCreatable() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue