From e688160b5d241206ce98f6d8f52d80f0b5d29966 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 12 Aug 2022 15:16:07 +0800 Subject: [PATCH] fix(gui-v2): add isUIAllowed('share-view') --- .../nc-gui-v2/components/smartsheet-toolbar/ShareView.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue index 7b967d147e..7262f1a572 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ShareView.vue @@ -17,6 +17,8 @@ const { $e } = useNuxtApp() const { dashboardUrl } = useDashboard() +const { isUIAllowed } = useUIPermission() + let showShareModel = $ref(false) const passwordProtected = $ref(false) @@ -110,7 +112,7 @@ const copyLink = () => {