fix: 🩹 fix blank bubble if no duration
All checks were successful
repod / xml (push) Successful in 26s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m34s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2025-01-03 18:36:47 +01:00
parent 2a3d30f018
commit c6915193db

View File

@ -2,7 +2,7 @@
<NcListItem
:active="isCurrentEpisode(episode)"
class="episode"
:counter-number="episode.duration"
:counter-number="episode.duration ?? 0"
:details="
!oneLine && episode.pubDate
? formatLocaleDate(new Date(episode.pubDate?.date))