From 2be4b15cf9ae242602043efdbc8da9fb2f6fba27 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Mon, 7 Oct 2024 17:42:47 +0200 Subject: [PATCH] debug gallery? --- frontend/src/scripts/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 8260c17..87d234a 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -112,6 +112,7 @@ class Main extends Component { let photos_carousel = []; console.log(this.state.photos); if(this.state.gallery_open !== undefined){ + console.log(this.state.photos[this.state.gallery_open].photos) for (const photo of this.state.photos[this.state.gallery_open].photos){ photos_gallery.push({ src: photo.thumbnail,