From a76277c86e5f0575b051ab69f55e418fb859f059 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sun, 10 Sep 2023 10:03:47 +0530 Subject: [PATCH] fix: project invite logic correction Signed-off-by: Pranav C --- .../nc-gui/components/project/InviteProjectCollabSection.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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