debug gallery?
This commit is contained in:
parent
a01c8fa8d4
commit
4487dc23e5
@ -110,8 +110,8 @@ class Main extends Component {
|
|||||||
render(){
|
render(){
|
||||||
let photos_gallery = [];
|
let photos_gallery = [];
|
||||||
let photos_carousel = [];
|
let photos_carousel = [];
|
||||||
if(this.state.gallery_open){
|
if(this.state.gallery_open !== undefined){
|
||||||
for (const photo of this.state.photos[this.state.gallery_open].photos){
|
for (const photo of this.state.photos[this.state.gallery_open]){
|
||||||
console.log(photo);
|
console.log(photo);
|
||||||
photos_gallery.push({
|
photos_gallery.push({
|
||||||
src: photo.thumbnail,
|
src: photo.thumbnail,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user