|
|
|
@ -173,7 +173,7 @@ export function useViewColumns(
|
|
|
|
|
const filteredFieldList = computed(() => { |
|
|
|
|
return ( |
|
|
|
|
fields.value?.filter((field: Field) => { |
|
|
|
|
if (metaColumnById?.value?.[field.fk_column_id!].pv) return true |
|
|
|
|
if (metaColumnById?.value?.[field.fk_column_id!]?.pv) return true |
|
|
|
|
|
|
|
|
|
// hide system columns if not enabled
|
|
|
|
|
if (!showSystemFields.value && isSystemColumn(metaColumnById?.value?.[field.fk_column_id!])) { |
|
|
|
@ -198,7 +198,7 @@ export function useViewColumns(
|
|
|
|
|
metaColumnById.value && |
|
|
|
|
metaColumnById?.value?.[field.fk_column_id!] && |
|
|
|
|
isSystemColumn(metaColumnById.value?.[field.fk_column_id!]) && |
|
|
|
|
!metaColumnById.value?.[field.fk_column_id!].pv |
|
|
|
|
!metaColumnById.value?.[field.fk_column_id!]?.pv |
|
|
|
|
) { |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|