From ebfdb4650c4e730244e1ab495aafc798696888ae Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 2 Oct 2023 11:43:02 +0000 Subject: [PATCH] fix: Fixed issue with project view tab state was not getting reset --- packages/nc-gui/components/project/AccessSettings.vue | 2 +- packages/nc-gui/components/project/View.vue | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/project/AccessSettings.vue b/packages/nc-gui/components/project/AccessSettings.vue index 61382d50f1..fad12df7ae 100644 --- a/packages/nc-gui/components/project/AccessSettings.vue +++ b/packages/nc-gui/components/project/AccessSettings.vue @@ -174,7 +174,7 @@ onMounted(async () => { v-else-if="!collaborators?.length" class="nc-collaborators-list w-full h-full flex flex-col items-center justify-center mt-36" > - +
diff --git a/packages/nc-gui/components/project/View.vue b/packages/nc-gui/components/project/View.vue index 28220c16ff..a2ac03367a 100644 --- a/packages/nc-gui/components/project/View.vue +++ b/packages/nc-gui/components/project/View.vue @@ -35,7 +35,11 @@ watch( } else { projectPageTab.value = 'allTable' } + + return } + + projectPageTab.value = 'allTable' }, { immediate: true }, )