From b84720b266b0480a74bda07910cb47bace8225bb Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Fri, 22 Sep 2023 15:26:16 +0000 Subject: [PATCH] fix: removed email invite from project collab --- packages/nc-gui/components/project/AccessSettings.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/project/AccessSettings.vue b/packages/nc-gui/components/project/AccessSettings.vue index f3f77a4c31..c21f6a5540 100644 --- a/packages/nc-gui/components/project/AccessSettings.vue +++ b/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 () => {