Skip to content

Commit 1548856

Browse files
authored
Merge pull request #6702 from nursoltan-s/timeline-wall-final-fix
fix mobile nav
2 parents de7933a + d6d3563 commit 1548856

File tree

1 file changed

+2
-2
lines changed
  • src/shared/containers/timeline-wall/timeline-events/events/event-item

1 file changed

+2
-2
lines changed

src/shared/containers/timeline-wall/timeline-events/events/event-item/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ function EventItem({
6363
>
6464
<PhotoItemsMobile
6565
styleName="hide-desktop show-mobile photo-item"
66-
photos={eventItem.mediaFiles}
66+
photos={(eventItem.mediaFiles || []).map((photo, index) => ({ ...photo, id: index }))}
6767
/>
6868
{eventItem.mediaFiles.map(photo => (
6969
<PhotoVideoItem
70-
styleName="photo-item"
70+
styleName="photo-item hide-mobile"
7171
url={photo.previewUrl || photo.url}
7272
videoThumnailUrl={photo.videoThumnailUrl}
7373
isUrlPhoto={!photo.videoThumnailUrl}

0 commit comments

Comments
 (0)