debug gallery?

This commit is contained in:
Martin Quarda 2024-10-07 17:37:14 +02:00
parent 66c27213f1
commit a01c8fa8d4

View File

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