From 90a1748fd42f73ad8324b12faa2a10be9cf322da Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 17 Jun 2023 17:02:19 +0530 Subject: [PATCH] fix: on double click open child list and block it if locked Signed-off-by: Pranav C --- packages/nc-gui/components/virtual-cell/Links.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/virtual-cell/Links.vue b/packages/nc-gui/components/virtual-cell/Links.vue index ba8332a851..dd82257fa6 100644 --- a/packages/nc-gui/components/virtual-cell/Links.vue +++ b/packages/nc-gui/components/virtual-cell/Links.vue @@ -67,6 +67,7 @@ const openChildList = () => { useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEvent) => { switch (e.key) { case 'Enter': + if (isLocked.value) return childListDlg.value = true e.stopPropagation() break @@ -75,7 +76,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven