This commit is contained in:
Martin Quarda 2024-10-07 17:05:22 +02:00
parent daa394d994
commit 5a050a98dd

View File

@ -111,7 +111,7 @@ class Main extends Component {
let photos_gallery = []; let photos_gallery = [];
let photos_carousel = []; let photos_carousel = [];
if(this.state.gallery_open){ if(this.state.gallery_open){
for (const photo of this.state.photos[gallery_open]){ for (const photo of this.state.photos[this.state.gallery_open]){
photos_gallery.push({ photos_gallery.push({
src: photo.thumbnail, src: photo.thumbnail,
width: photo.original_width, width: photo.original_width,