debug gallery?

This commit is contained in:
Martin Quarda 2024-10-07 17:42:47 +02:00
parent 079dfbf40a
commit 2be4b15cf9

View File

@ -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,