From 5a050a98ddc8df4d1863898f18202090243f94cc Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Mon, 7 Oct 2024 17:05:22 +0200 Subject: [PATCH] fix --- frontend/src/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 64248e7..e1070f5 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -111,7 +111,7 @@ class Main extends Component { let photos_gallery = []; let photos_carousel = []; 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({ src: photo.thumbnail, width: photo.original_width,