From 69596db39fe613948dd4a8259b13d91171d30350 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 31 Jul 2022 20:33:17 +0200 Subject: [PATCH] fix(gui-v2): useViewColumns throwing err when col is undefined --- packages/nc-gui-v2/composables/useViewColumns.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nc-gui-v2/composables/useViewColumns.ts b/packages/nc-gui-v2/composables/useViewColumns.ts index a8e015ee5d..720ff8ee09 100644 --- a/packages/nc-gui-v2/composables/useViewColumns.ts +++ b/packages/nc-gui-v2/composables/useViewColumns.ts @@ -114,6 +114,7 @@ export default function ( if ( !showSystemFields.value && metaColumnById.value && + metaColumnById?.value?.[c.fk_column_id as string] && isSystemColumn(metaColumnById?.value?.[c.fk_column_id as string]) ) { return false