diff --git a/packages/nc-gui/components/project/InviteProjectCollabSection.vue b/packages/nc-gui/components/project/InviteProjectCollabSection.vue index 7b33eb7242..0f658f7767 100644 --- a/packages/nc-gui/components/project/InviteProjectCollabSection.vue +++ b/packages/nc-gui/components/project/InviteProjectCollabSection.vue @@ -26,10 +26,10 @@ const usersData = ref<{ const isInvitingCollaborators = ref(false) const inviteCollaborator = async () => { - isInvitingCollaborators.value = true - if (isInvitingCollaborators.value) return + isInvitingCollaborators.value = true + try { usersData.value = await inviteUser(inviteData) usersData.roles = inviteData.roles