change status disable in computed

This commit is contained in:
ogerly 2022-02-11 11:34:29 +01:00
parent 0742b9f604
commit 56a13cde95

View File

@ -99,7 +99,7 @@ export default {
},
computed: {
disabled: function () {
return this.form.newPassword.password === this.form.newPassword.passwordRepeat
return (this.form.newPassword.password !== '') && (this.form.newPassword.password === this.form.newPassword.passwordRepeat)
},
},
}