mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Add podcast add modal
This commit is contained in:
parent
a9b9e23f46
commit
deadc63dbb
9 changed files with 212 additions and 18 deletions
|
@ -35,6 +35,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<modals-podcast-new-modal v-model="showNewPodcastModal" :podcast-data="selectedPodcast" :podcast-feed-data="selectedPodcastFeed" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -45,7 +47,11 @@ export default {
|
|||
searchTerm: '',
|
||||
results: [],
|
||||
termSearched: '',
|
||||
processing: false
|
||||
processing: false,
|
||||
|
||||
showNewPodcastModal: false,
|
||||
selectedPodcast: null,
|
||||
selectedPodcastFeed: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -83,6 +89,9 @@ export default {
|
|||
})
|
||||
this.processing = false
|
||||
if (!podcastfeed) return
|
||||
this.selectedPodcastFeed = podcastfeed
|
||||
this.selectedPodcast = podcast
|
||||
this.showNewPodcastModal = true
|
||||
console.log('Got podcast feed', podcastfeed)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue