fix: hide duration if missing in feed
All checks were successful
repod / xml (push) Successful in 23s
repod / php (push) Successful in 1m16s
repod / nodejs (push) Successful in 2m21s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-11 23:23:22 +01:00
parent a264ac2066
commit 767a6e9bac

View File

@ -17,7 +17,7 @@
:url="episode.image" />
</template>
<template #subname>
{{ formatTimer(new Date(episode.duration*1000)) }}
{{ episode.duration > 0 ? formatTimer(new Date(episode.duration*1000)) : '' }}
</template>
<template #actions>
<NcActionButton v-if="!isCurrentEpisode(episode)" @click="load(episode)">