diff --git a/packages/core/client/src/collection-manager/hooks/useCollectionManager.ts b/packages/core/client/src/collection-manager/hooks/useCollectionManager.ts index cee20f4d4d..3b85242c8b 100644 --- a/packages/core/client/src/collection-manager/hooks/useCollectionManager.ts +++ b/packages/core/client/src/collection-manager/hooks/useCollectionManager.ts @@ -35,6 +35,9 @@ export const useCollectionManager = () => { }, getCollectionField, getCollectionJoinField(name: string) { + if (!name) { + return; + } const [collectionName, ...fieldNames] = name.split('.'); if (!fieldNames?.length) { return;