mirror of
https://github.com/stashapp/stash.git
synced 2026-05-08 12:32:29 +02:00
Fix undefined containerHeight error with imageWall columns (#3525)
This commit is contained in:
parent
b7183900ac
commit
9aa7ec575a
1 changed files with 9 additions and 7 deletions
|
|
@ -83,13 +83,15 @@ const ImageWall: React.FC<IImageWallProps> = ({ images, handleImageOpen }) => {
|
|||
|
||||
return (
|
||||
<div className="gallery">
|
||||
<Gallery
|
||||
photos={photos}
|
||||
onClick={showLightboxOnClick}
|
||||
margin={uiConfig?.imageWallOptions?.margin!}
|
||||
direction={uiConfig?.imageWallOptions?.direction!}
|
||||
columns={columns}
|
||||
/>
|
||||
{photos.length ? (
|
||||
<Gallery
|
||||
photos={photos}
|
||||
onClick={showLightboxOnClick}
|
||||
margin={uiConfig?.imageWallOptions?.margin!}
|
||||
direction={uiConfig?.imageWallOptions?.direction!}
|
||||
columns={columns}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue