fix gallery?
This commit is contained in:
parent
b72a2e461d
commit
66c27213f1
@ -111,7 +111,7 @@ class Main extends Component {
|
||||
let photos_gallery = [];
|
||||
let photos_carousel = [];
|
||||
if(this.state.gallery_open){
|
||||
for (const photo of this.state.photos[this.state.gallery_open] || []){
|
||||
for (const photo of this.state.photos[this.state.gallery_open].photos){
|
||||
photos_gallery.push({
|
||||
src: photo.thumbnail,
|
||||
width: photo.original_width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user