fix: hide duration if missing in feed
This commit is contained in:
parent
a264ac2066
commit
767a6e9bac
@ -17,7 +17,7 @@
|
|||||||
:url="episode.image" />
|
:url="episode.image" />
|
||||||
</template>
|
</template>
|
||||||
<template #subname>
|
<template #subname>
|
||||||
{{ formatTimer(new Date(episode.duration*1000)) }}
|
{{ episode.duration > 0 ? formatTimer(new Date(episode.duration*1000)) : '' }}
|
||||||
</template>
|
</template>
|
||||||
<template #actions>
|
<template #actions>
|
||||||
<NcActionButton v-if="!isCurrentEpisode(episode)" @click="load(episode)">
|
<NcActionButton v-if="!isCurrentEpisode(episode)" @click="load(episode)">
|
||||||
|
Loading…
Reference in New Issue
Block a user