Migrate to vue3 (fix #126) #127
@ -70,6 +70,7 @@
|
||||
</NcActionLink>
|
||||
<NcActionLink
|
||||
v-if="episode.url"
|
||||
:download="filename(episode)"
|
||||
:href="episode.url"
|
||||
:name="t('repod', 'Download')"
|
||||
target="_blank"
|
||||
@ -214,6 +215,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
...mapActions(usePlayer, ['load']),
|
||||
filename(episode) {
|
||||
const url = new URL(episode.url)
|
||||
return url.pathname.split('/').pop()
|
||||
},
|
||||
formatLocaleDate,
|
||||
hasEnded(episode) {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user