fix: fix canListParameter (undefined) to canListParameters

This commit is contained in:
Leonardo Matos
2020-03-20 15:56:29 -03:00
committed by GitHub
parent dc771f51e8
commit 9a4e64e13f

View File

@@ -1434,8 +1434,8 @@ export default {
},
canListParameters: {
immediate: true,
handler (canToggleRaw) {
this.rawInput = !canToggleRaw
handler (canListParameters) {
this.rawInput = !canListParameters
}
},
contentType(contentType, oldContentType) {
@@ -1764,7 +1764,7 @@ export default {
},
rawInput: {
get() {
return this.canListParameter ? this.$store.state.request.rawInput : true
return this.canListParameters ? this.$store.state.request.rawInput : true
},
set(value) {
this.$store.commit("setState", { value, attribute: "rawInput" })