mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Add zoomIndex to gallery card (#5844)
This commit is contained in:
@@ -10,7 +10,12 @@ export const SceneGalleriesPanel: React.FC<ISceneGalleriesPanelProps> = ({
|
||||
galleries,
|
||||
}) => {
|
||||
const cards = galleries.map((gallery) => (
|
||||
<GalleryCard key={gallery.id} gallery={gallery} selecting={false} />
|
||||
<GalleryCard
|
||||
key={gallery.id}
|
||||
gallery={gallery}
|
||||
selecting={false}
|
||||
zoomIndex={2}
|
||||
/>
|
||||
));
|
||||
|
||||
return <div className="container scene-galleries">{cards}</div>;
|
||||
|
||||
Reference in New Issue
Block a user