From 9c7fe983aa664be301a980b88c7d31fc0fa3e460 Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 10 Jun 2023 17:20:24 +0300 Subject: [PATCH] fix: allow bubbling through nc-locked-overlay Signed-off-by: mertmit --- packages/nc-gui/components/smartsheet/Cell.vue | 4 ++-- packages/nc-gui/components/smartsheet/Grid.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Cell.vue b/packages/nc-gui/components/smartsheet/Cell.vue index ca0b694396..6e91cec0ab 100644 --- a/packages/nc-gui/components/smartsheet/Cell.vue +++ b/packages/nc-gui/components/smartsheet/Cell.vue @@ -232,8 +232,8 @@ onUnmounted(() => {
diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 100719df37..fac496b06a 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -572,7 +572,7 @@ async function clearCell(ctx: { row: number; col: number } | null, skipUpdate = } function makeEditable(row: Row, col: ColumnType) { - if (!hasEditPermission || editEnabled || isView) { + if (!hasEditPermission || editEnabled || isView || isLocked.value || readOnly.value) { return }