browse hero items now use correct artwork

This commit is contained in:
booploops 2022-08-23 22:34:57 -07:00
parent 4c0855165f
commit 2c87591ce3
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@
</div>
<div class="artwork">
<mediaitem-artwork
:url="item.attributes?.artwork ? item.attributes?.artwork?.url : ''"
:url="item.attributes?.editorialArtwork.subscriptionHero.url ?? item.attributes?.artwork"
:video="(item.attributes != null && item.attributes?.editorialVideo != null) ? (item.attributes?.editorialVideo?.motionDetailSquare ? item.attributes?.editorialVideo?.motionDetailSquare?.video : (item.attributes?.editorialVideo?.motionSquareVideo1x1 ? item?.attributes?.editorialVideo?.motionSquareVideo1x1?.video : '')) : '' "
:size="516" :width="900"
></mediaitem-artwork>