fix(media-library): pass correct value to Asset component (#3140)
This commit is contained in:
parent
b431348083
commit
b1026c980c
@ -223,7 +223,7 @@ export default function withFileControl({ forImage } = {}) {
|
|||||||
<MultiImageWrapper>
|
<MultiImageWrapper>
|
||||||
{value.map(val => (
|
{value.map(val => (
|
||||||
<ImageWrapper key={val}>
|
<ImageWrapper key={val}>
|
||||||
<ImageAsset getAsset={getAsset} value={value} />
|
<ImageAsset getAsset={getAsset} value={val} />
|
||||||
</ImageWrapper>
|
</ImageWrapper>
|
||||||
))}
|
))}
|
||||||
</MultiImageWrapper>
|
</MultiImageWrapper>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user