Skip to content

Commit

Permalink
Merge pull request #1958 from emanuelheredia/TP-2013_adding_video_360…
Browse files Browse the repository at this point in the history
…_button_on_mobile

TP-2013: Adding video 360 button on mobile carousel
  • Loading branch information
aguescribano87 authored Sep 20, 2024
2 parents 165f612 + 8b6e174 commit 52a4ae3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,4 @@



window['STORIES'] = [];</script><script src="runtime~main.9390b27b.iframe.bundle.js"></script><script src="vendors~main.2eb898cf.iframe.bundle.js"></script><script src="main.a0d84c4a.iframe.bundle.js"></script></body></html>
window['STORIES'] = [];</script><script src="runtime~main.9390b27b.iframe.bundle.js"></script><script src="vendors~main.2eb898cf.iframe.bundle.js"></script><script src="main.09673a54.iframe.bundle.js"></script></body></html>
3 changes: 3 additions & 0 deletions docs/main.09673a54.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.09673a54.iframe.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions docs/main.a0d84c4a.iframe.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.a0d84c4a.iframe.bundle.js.map

This file was deleted.

5 changes: 4 additions & 1 deletion packages/carousel/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ export const Carousel = ({
>
<ButtonsMainImage
video={video}
video360={showOtherButtonsGalleryMobile && video360}
video360={
(video.length === 0 || showOtherButtonsGalleryMobile) &&
video360
}
images={showOtherButtonsGalleryMobile && images}
imgWithCover={showOtherButtonsGalleryMobile && imgWithCover}
planos={showOtherButtonsGalleryMobile && planos}
Expand Down

0 comments on commit 52a4ae3

Please sign in to comment.