From 2e00a0fa2a2f20a5c3187d509fd7be1ae9bcc010 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Sat, 25 Nov 2023 04:19:43 +0000 Subject: [PATCH 1/4] fix: Hide export btn on toolbar when on viewer permision --- .../nc-gui/components/smartsheet/Toolbar.vue | 2 +- .../smartsheet/toolbar/ViewActionMenu.vue | 70 ++++++++++--------- 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Toolbar.vue b/packages/nc-gui/components/smartsheet/Toolbar.vue index 7587db85f8..fd1347b27e 100644 --- a/packages/nc-gui/components/smartsheet/Toolbar.vue +++ b/packages/nc-gui/components/smartsheet/Toolbar.vue @@ -39,7 +39,7 @@ const { allowCSVDownload } = useSharedView() - +
diff --git a/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue index 7616aaf08e..82795110c7 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue @@ -239,44 +239,48 @@ const onDelete = async () => { - - - - - - -