Compare commits

...

1 Commits

Author SHA1 Message Date
Dan Ribbens
9839655b07 fix: disableListFilter for array and group fields 2025-05-01 14:22:27 -04:00

View File

@@ -99,7 +99,11 @@ export const reduceFields = ({
return reduced
}
if ((field.type === 'group' || field.type === 'array') && 'fields' in field) {
if (
(field.type === 'group' || field.type === 'array') &&
'fields' in field &&
!field.admin.disableListFilter
) {
const translatedLabel = getTranslation(field.label || '', i18n)
const labelWithPrefix = labelPrefix