From 4a5548bc62afc3589cf827a24224c302e9806669 Mon Sep 17 00:00:00 2001
From: Jonathan Chen <86070045+jonathanc-n@users.noreply.github.com>
Date: Wed, 24 Jul 2024 12:22:02 -0400
Subject: [PATCH] fix: 'Create View' button appearing through sharing link of
Base #9055 (#9058)
---
packages/nc-gui/components/dashboard/TreeView/ViewsList.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
index 1409af7fbd..563d19a03e 100644
--- a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
@@ -32,6 +32,8 @@ const { isUIAllowed } = useRoles()
const { isMobileMode } = useGlobal()
+const { isSharedBase } = storeToRefs(useBase())
+
const { $e } = useNuxtApp()
const { t } = useI18n()
@@ -400,6 +402,7 @@ function onOpenModal({
:selected-keys="selected"
class="nc-views-menu flex flex-col w-full !border-r-0 !bg-inherit"
>
+
-
+