Fixed broken scene photo length check in release banner.
This commit is contained in:
parent
bb9649d23b
commit
6547b93e55
|
@ -2,7 +2,7 @@
|
|||
<div class="media-container">
|
||||
<div
|
||||
class="media"
|
||||
:class="{ center: release.photos.length + release.scenesPhotos.length < 2, preview: !me }"
|
||||
:class="{ center: (release.photos?.length < 2) || (release.scenesPhotos?.length < 2), preview: !me }"
|
||||
>
|
||||
<div
|
||||
v-if="release.trailer || release.teaser"
|
||||
|
@ -71,7 +71,7 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<template v-if="release.covers && release.covers.length > 0">
|
||||
<template v-if="release.covers?.length > 0">
|
||||
<div
|
||||
v-for="cover in release.covers"
|
||||
:key="`cover-${cover.id}`"
|
||||
|
|
Loading…
Reference in New Issue