Browse Source

fix: project invite logic correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6347/head
Pranav C 1 year ago
parent
commit
a76277c86e
  1. 4
      packages/nc-gui/components/project/InviteProjectCollabSection.vue

4
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

Loading…
Cancel
Save