fix(ui): falls back custom fields as undefined instead of null

This commit is contained in:
Jacob Fletcher
2024-03-18 16:50:04 -04:00
parent 7df3434c6a
commit 9182d8d594
2 changed files with 2 additions and 2 deletions

View File

@@ -659,7 +659,7 @@ export const mapFields = (args: {
Cell,
CustomField: CustomFieldComponent ? (
<CustomFieldComponent {...fieldComponentProps} />
) : null,
) : undefined,
Heading,
fieldComponentProps,
fieldIsPresentational,

View File

@@ -94,7 +94,7 @@
"./packages/graphql/src"
],
"@payload-config": [
"./test/_community/config.ts"
"./test/auth/config.ts"
]
}
},