Browse Source

fix: typo of email

pull/6441/head
sreehari jayaraj 1 year ago
parent
commit
b3e612626a
  1. 3
      packages/nc-gui/components/nc/Select.vue
  2. 4
      packages/nc-gui/components/workspace/InviteSection.vue

3
packages/nc-gui/components/nc/Select.vue

@ -103,4 +103,7 @@ const onChange = (value: string) => {
} }
} }
} }
.nc-select .ant-select {
height: fit-content;
}
</style> </style>

4
packages/nc-gui/components/workspace/InviteSection.vue

@ -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 += ','

Loading…
Cancel
Save