Update packages/core/admin/admin/src/content-manager/components/RelationInputDataManager/RelationInputDataManager.js

Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
This commit is contained in:
Josh 2022-11-01 10:22:52 +00:00 committed by GitHub
parent bae3c0d7b3
commit ddb1bca0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ export const RelationInputDataManager = ({
...defaultParams,
pageSize: RELATIONS_TO_DISPLAY,
},
onLoadRelationsCallback: loadRelation,
onLoad: loadRelation,
normalizeArguments: {
mainFieldName: mainField.name,
shouldAddLink: shouldDisplayRelationLink,