Browse Source

fix(gui-v2): useViewColumns throwing err when col is undefined

pull/2837/head
braks 2 years ago
parent
commit
69596db39f
  1. 1
      packages/nc-gui-v2/composables/useViewColumns.ts

1
packages/nc-gui-v2/composables/useViewColumns.ts

@ -114,6 +114,7 @@ export default function (
if ( if (
!showSystemFields.value && !showSystemFields.value &&
metaColumnById.value && metaColumnById.value &&
metaColumnById?.value?.[c.fk_column_id as string] &&
isSystemColumn(metaColumnById?.value?.[c.fk_column_id as string]) isSystemColumn(metaColumnById?.value?.[c.fk_column_id as string])
) { ) {
return false return false

Loading…
Cancel
Save