mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 15:29:27 +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 (
|
return (
|
||||||
<Grid gap={4} key={gridIndex}>
|
<Grid gap={4} key={gridIndex}>
|
||||||
{grid.map(
|
{grid.map(
|
||||||
({ fieldSchema, labelAction, metadatas, name, size }) => {
|
({
|
||||||
|
fieldSchema,
|
||||||
|
labelAction,
|
||||||
|
metadatas,
|
||||||
|
name,
|
||||||
|
size,
|
||||||
|
queryInfos,
|
||||||
|
}) => {
|
||||||
const isComponent = fieldSchema.type === 'component';
|
const isComponent = fieldSchema.type === 'component';
|
||||||
|
|
||||||
if (isComponent) {
|
if (isComponent) {
|
||||||
@ -205,6 +212,7 @@ const EditView = ({
|
|||||||
keys={name}
|
keys={name}
|
||||||
labelAction={labelAction}
|
labelAction={labelAction}
|
||||||
metadatas={metadatas}
|
metadatas={metadatas}
|
||||||
|
queryInfos={queryInfos}
|
||||||
/>
|
/>
|
||||||
</GridItem>
|
</GridItem>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user