fix: Pass title on Modal instead of inject it on episodes
This commit is contained in:
parent
3d066d63c6
commit
2a519e4543
@ -41,7 +41,7 @@
|
||||
:image="modalEpisode.image"
|
||||
:link="modalEpisode.link"
|
||||
:name="modalEpisode.name"
|
||||
:podcast="modalEpisode.podcast"
|
||||
:title="title"
|
||||
:url="modalEpisode.url" />
|
||||
</NcModal>
|
||||
</div>
|
||||
@ -74,6 +74,12 @@ export default {
|
||||
PlayButton,
|
||||
StopButton,
|
||||
},
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
episodes: [],
|
||||
|
@ -12,7 +12,7 @@
|
||||
<template #icon>
|
||||
<OpenInNew :size="20" />
|
||||
</template>
|
||||
{{ podcast }}
|
||||
{{ title }}
|
||||
</NcButton>
|
||||
<NcButton v-if="url" :href="url" target="_blank">
|
||||
<template #icon>
|
||||
@ -58,7 +58,7 @@ export default {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
podcast: {
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user