mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 14:59:07 +00:00
Merge pull request #14089 from strapi/feature/relations-main-view-relation-query-info
CM: Pass queryInfos to Inputs, to have it available for relations
This commit is contained in:
commit
a128d0d7a8
@ -167,7 +167,14 @@ const EditView = ({
|
||||
return (
|
||||
<Grid gap={4} key={gridIndex}>
|
||||
{grid.map(
|
||||
({ fieldSchema, labelAction, metadatas, name, size }) => {
|
||||
({
|
||||
fieldSchema,
|
||||
labelAction,
|
||||
metadatas,
|
||||
name,
|
||||
size,
|
||||
queryInfos,
|
||||
}) => {
|
||||
const isComponent = fieldSchema.type === 'component';
|
||||
|
||||
if (isComponent) {
|
||||
@ -205,6 +212,7 @@ const EditView = ({
|
||||
keys={name}
|
||||
labelAction={labelAction}
|
||||
metadatas={metadatas}
|
||||
queryInfos={queryInfos}
|
||||
/>
|
||||
</GridItem>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user