This commit is contained in:
Martin Quarda 2024-10-07 17:03:20 +02:00
parent 7261d71929
commit daa394d994

View File

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