fix: input watchers

This commit is contained in:
sreehari jayaraj
2023-09-22 15:26:12 +00:00
parent 4ac3288a6d
commit 3a529ea5c4
3 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,13 @@ const inviteCollaborator = async () => {
}
}
watch(inviteData, (newVal) => {
console.log(newVal.email)
if (newVal.email[-1] === ',') {
console.log(newVal.email)
}
})
// allow only lower roles to be assigned
const allowedRoles = ref<WorkspaceUserRoles[]>([])