mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix undefined containerHeight error with imageWall columns (#3525)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user