simplified Register.vue to increase line coverage

This commit is contained in:
Ulf Gebhardt 2021-10-03 13:35:24 +02:00
parent daedba0821
commit f8706d4852
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -129,7 +129,7 @@
</b-button>
<b-button
:disabled="!(namesFilled && emailFilled && form.agree && languageFilled)"
:disabled="!(namesFilled && emailFilled && form.agree && !!language)"
type="submit"
variant="primary"
>
@ -239,9 +239,6 @@ export default {
emailFilled() {
return this.form.email !== ''
},
languageFilled() {
return !!this.language
},
},
}
</script>