From cc95ca634f3ddfd5ce45beb51f077c429fb86f04 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 17 Jan 2023 14:51:33 +0530 Subject: [PATCH] fix(gui): typo correction Signed-off-by: Pranav C --- packages/nc-gui/components/smartsheet/Grid.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 1d93d9eeca..92b0092225 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -201,7 +201,7 @@ const { isCellSelected, activeCell, handleMouseDown, handleMouseOver, handleCell const cmdOrCtrl = isMac() ? e.metaKey : e.ctrlKey const altOrOptionKey = e.altKey if (e.key === ' ') { - if (activeCell.row != null && !editEnabled && hasEditPermission?.value) { + if (activeCell.row != null && !editEnabled && hasEditPermission) { e.preventDefault() clearSelectedRange() const row = data.value[activeCell.row]