Browse Source

fix: removed email invite from project collab

pull/6441/head
sreehari jayaraj 1 year ago
parent
commit
b84720b266
  1. 7
      packages/nc-gui/components/project/AccessSettings.vue

7
packages/nc-gui/components/project/AccessSettings.vue

@ -135,6 +135,11 @@ watchDebounced(
},
)
const userProjectRole = computed<(typeof ProjectRoles)[keyof typeof ProjectRoles]>(() => {
const projectUser = collaborators.value?.find((collab) => collab.id === user.value?.id)
return projectUser?.projectRoles
})
onMounted(async () => {
isLoading.value = true
try {
@ -155,8 +160,6 @@ onMounted(async () => {
<template>
<div class="nc-collaborator-table-container mt-4 nc-access-settings-view">
<ProjectInviteProjectCollabSection @invited="reloadCollabs" />
<div v-if="isLoading" class="nc-collaborators-list items-center justify-center">
<GeneralLoader size="xlarge" />
</div>

Loading…
Cancel
Save