mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
RelationInputWrapper: Replace mock TODOs
This commit is contained in:
parent
7fad018e60
commit
0fb81faed1
@ -151,14 +151,12 @@ export const RelationInputWrapper = ({
|
||||
}}
|
||||
relations={normalizeRelations(relations, {
|
||||
modifiedData: modifiedData?.[name],
|
||||
// TODO: Remove mock title
|
||||
mainFieldName: 'title' || mainField.name,
|
||||
mainFieldName: mainField.name,
|
||||
shouldAddLink: shouldDisplayRelationLink,
|
||||
targetModel,
|
||||
})}
|
||||
searchResults={normalizeRelations(search, {
|
||||
// TODO: Remove mock title
|
||||
mainFieldName: 'title' || mainField.name,
|
||||
mainFieldName: mainField.name,
|
||||
})}
|
||||
/>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user