|
|
@ -38,7 +38,7 @@ watch(inviteData, (newVal) => { |
|
|
|
} |
|
|
|
} |
|
|
|
if (!validateEmail(inviteData.email)) { |
|
|
|
if (!validateEmail(inviteData.email)) { |
|
|
|
emailValidation.isError = true |
|
|
|
emailValidation.isError = true |
|
|
|
emailValidation.message = 'invalid emamil' |
|
|
|
emailValidation.message = 'invalid email' |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
emailBadges.value.push(newVal.email.split(',')[0]) |
|
|
|
emailBadges.value.push(newVal.email.split(',')[0]) |
|
|
@ -57,7 +57,7 @@ const handleEnter = () => { |
|
|
|
} |
|
|
|
} |
|
|
|
if (!validateEmail(inviteData.email)) { |
|
|
|
if (!validateEmail(inviteData.email)) { |
|
|
|
emailValidation.isError = true |
|
|
|
emailValidation.isError = true |
|
|
|
emailValidation.message = 'invalid emamil' |
|
|
|
emailValidation.message = 'invalid email' |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
inviteData.email += ',' |
|
|
|
inviteData.email += ',' |
|
|
|