Signed-off-by: Pranav C <pranavxc@gmail.com>
@ -26,10 +26,10 @@ const usersData = ref<{
const isInvitingCollaborators = ref(false)
const inviteCollaborator = async () => {
isInvitingCollaborators.value = true
if (isInvitingCollaborators.value) return
try {
usersData.value = await inviteUser(inviteData)
usersData.roles = inviteData.roles