diff --git a/packages/payload/src/admin/components/elements/TableColumns/buildColumns.tsx b/packages/payload/src/admin/components/elements/TableColumns/buildColumns.tsx index c3e67b58f75..f1a5d549365 100644 --- a/packages/payload/src/admin/components/elements/TableColumns/buildColumns.tsx +++ b/packages/payload/src/admin/components/elements/TableColumns/buildColumns.tsx @@ -43,6 +43,11 @@ const buildColumns = ({ } const props = cellProps?.[colIndex] || {} + const fieldAffectsDataSubFields = + field && + field.type && + (field.type === 'array' || field.type === 'group' || field.type === 'blocks') + const disableListFilter = field.admin && 'disableListFilter' in field.admin ? field.admin.disableListFilter : false @@ -57,11 +62,7 @@ const buildColumns = ({ components: { Heading: (