improved email setup

This commit is contained in:
Čarodej
2022-04-01 10:14:50 +02:00
parent b1160a1327
commit 40b13acbb9
12 changed files with 754 additions and 144 deletions
@@ -207,7 +207,7 @@ export default {
})
},
addMember() {
if (this.$isInvalidEmail(this.email)) {
if (!this.$isValidEmail(this.email)) {
this.$refs.teamFolderForm.setErrors({
Email: this.$t('type_valid_email'),
})
@@ -158,7 +158,7 @@ export default {
})
},
addMember() {
if (this.$isInvalidEmail(this.email)) {
if (!this.$isValidEmail(this.email)) {
this.$refs.teamFolderForm.setErrors({
Email: this.$t('type_valid_email'),
})