From f4ec6948d26d9069525e1dc3fc4e76f1a3ac6f97 Mon Sep 17 00:00:00 2001 From: mfcar Date: Wed, 22 Feb 2023 19:18:42 +0000 Subject: [PATCH] Add dropown --- client/components/modals/podcast/NewModal.vue | 17 ++++++++++++++--- .../components/widgets/PodcastDetailsEdit.vue | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/client/components/modals/podcast/NewModal.vue b/client/components/modals/podcast/NewModal.vue index 59b8dfd9..5aa6aff9 100644 --- a/client/components/modals/podcast/NewModal.vue +++ b/client/components/modals/podcast/NewModal.vue @@ -31,6 +31,11 @@
+
+
+ +
+
@@ -82,7 +87,8 @@ export default { itunesPageUrl: '', itunesId: '', itunesArtistId: '', - autoDownloadEpisodes: false + autoDownloadEpisodes: false, + type: '' } } }, @@ -140,6 +146,9 @@ export default { selectedFolderPath() { if (!this.selectedFolder) return '' return this.selectedFolder.fullPath + }, + podcastTypes() { + return this.$store.state.globals.podcastTypes || [] } }, methods: { @@ -170,7 +179,8 @@ export default { itunesPageUrl: this.podcast.itunesPageUrl, itunesId: this.podcast.itunesId, itunesArtistId: this.podcast.itunesArtistId, - language: this.podcast.language + language: this.podcast.language, + type: this.podcast.type }, autoDownloadEpisodes: this.podcast.autoDownloadEpisodes } @@ -207,6 +217,7 @@ export default { this.podcast.itunesArtistId = this._podcastData.artistId || '' this.podcast.language = this._podcastData.language || '' this.podcast.autoDownloadEpisodes = false + this.podcast.type = this._podcastData.type || this.feedMetadata.type || 'episodic' if (this.folderItems[0]) { this.selectedFolderId = this.folderItems[0].value @@ -226,4 +237,4 @@ export default { #episodes-scroll { max-height: calc(80vh - 200px); } - \ No newline at end of file + diff --git a/client/components/widgets/PodcastDetailsEdit.vue b/client/components/widgets/PodcastDetailsEdit.vue index 4442f9c6..4c2fd739 100644 --- a/client/components/widgets/PodcastDetailsEdit.vue +++ b/client/components/widgets/PodcastDetailsEdit.vue @@ -102,7 +102,7 @@ export default { }, podcastTypes() { return this.$store.state.globals.podcastTypes || [] - }, + } }, methods: { getDetails() {