debug gallery?

This commit is contained in:
Martin Quarda 2024-10-07 17:40:11 +02:00
parent 4487dc23e5
commit 079dfbf40a

View File

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