From 4b51c73dcd54fce5d3a5de1f1011010663315d40 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Fri, 12 Aug 2022 13:51:42 +0530 Subject: [PATCH] refactor/gui-v2-added readonly mode to Share view --- packages/nc-gui-v2/components/smartsheet/Grid.vue | 4 +--- packages/nc-gui-v2/pages/[projectType]/view/[viewId].vue | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index 26e159418e..c1b3275bb2 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -100,9 +100,7 @@ provide(ChangePageInj, changePage) provide(ReadonlyInj, !isUIAllowed('xcDatatableEditable')) reloadViewDataHook?.on(async () => { - if (!isPublicView) { - loadAggCommentsCount() - } + loadAggCommentsCount() await loadData() }) diff --git a/packages/nc-gui-v2/pages/[projectType]/view/[viewId].vue b/packages/nc-gui-v2/pages/[projectType]/view/[viewId].vue index 65ff8c17ab..ffd3b34d81 100644 --- a/packages/nc-gui-v2/pages/[projectType]/view/[viewId].vue +++ b/packages/nc-gui-v2/pages/[projectType]/view/[viewId].vue @@ -1,7 +1,7 @@