Prevent setting addition from being broken
This commit is contained in:
@ -16,7 +16,7 @@ export const useRelationFieldPreviewValue = ({
|
||||
: undefined;
|
||||
|
||||
const { records: relationObjects } = useFindManyRecords({
|
||||
objectNameSingular: relationObjectMetadataItem?.nameSingular ?? '',
|
||||
objectNameSingular: relationObjectMetadataItem?.nameSingular ?? 'company', // TODO fix this hack
|
||||
skip: skip || !relationObjectMetadataItem,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user