rename computed disableButtomByUpdate to disableButtonByUpdate

This commit is contained in:
ogerly 2022-10-16 13:03:10 +02:00
parent 018cfc68b1
commit fc75d4f370

View File

@ -277,7 +277,7 @@ export default {
return true
},
disableButtomByUpdate() {
disableButtonByUpdate() {
if (!this.update) return true
if (
this.group.name === this.formData.name &&
@ -294,8 +294,8 @@ export default {
},
methods: {
checkFormError(error) {
if (!this.update && error && !!error && this.disableButtomByUpdate) return true
if (this.update && !error && this.disableButtomByUpdate) return true
if (!this.update && error && !!error && this.disableButtonByUpdate) return true
if (this.update && !error && this.disableButtonByUpdate) return true
return false
},
changeGroupType(event) {