Additional movie page fix due missing chapters property.

This commit is contained in:
DebaucheryLibrarian 2024-10-25 02:52:41 +02:00
parent 57227c4bed
commit d1caf5d7ac
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
</div>
<div
v-if="release.photos.length > 0 || release.caps.length > 0 || release.chapters.some((chapter) => chapter.poster) || coversInAlbum"
v-if="release.photos.length > 0 || release.caps.length > 0 || release.chapters?.some((chapter) => chapter.poster) || coversInAlbum"
class="album"
:class="{ single: (release.photos.length + release.caps.length + (release.chapters?.filter((chapter) => chapter.poster).length || 0)) === 1 }"
>