From f11734f967163955e363bc2e6b6a1b32165fa10b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 18 Jun 2024 19:06:18 +0000 Subject: [PATCH] refactor: review comments --- .../nc-gui/components/smartsheet/Details.vue | 4 ++-- .../components/smartsheet/grid/Table.vue | 24 ++++++++++++------- .../components/smartsheet/header/Cell.vue | 11 ++++++--- .../components/smartsheet/header/Menu.vue | 12 +++++----- .../smartsheet/header/VirtualCell.vue | 10 ++++++-- .../smartsheet/toolbar/ViewActionMenu.vue | 4 ++-- .../virtual-cell/components/LinkedItems.vue | 4 +++- .../virtual-cell/components/UnLinkedItems.vue | 4 +++- .../composables/useMultiSelect/index.ts | 10 +++++++- 9 files changed, 57 insertions(+), 26 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Details.vue b/packages/nc-gui/components/smartsheet/Details.vue index c9ac4c421d..7c62c8480a 100644 --- a/packages/nc-gui/components/smartsheet/Details.vue +++ b/packages/nc-gui/components/smartsheet/Details.vue @@ -8,7 +8,7 @@ const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) const { $e } = useNuxtApp() -const { isUIAllowed } = useRoles() +const { isUIAllowed, isDataReadOnly } = useRoles() const { base } = storeToRefs(useBase()) const meta = inject(MetaInj, ref()) @@ -85,7 +85,7 @@ watch(openedSubTab, () => { - + -