From 4a09e2787b5a5f523082a7d9f72e9f1d57cc2310 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 4 Aug 2022 00:39:26 +0530 Subject: [PATCH] chore(gui-v2): arrow/tab navigation correction Signed-off-by: Pranav C --- packages/nc-gui-v2/components/smartsheet/Grid.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index 59a9d45409..a2ccf0fb97 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -42,10 +42,7 @@ const addColumnDropdown = ref(false) const contextMenu = ref(false) const contextMenuTarget = ref(false) -const visibleColLength = $computed(() => { - const cols = fields.value - return cols.filter((col) => !isVirtualCol(col)).length -}) +const visibleColLength = $computed(() => fields.value?.length) const { loadData,