mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Add dropown
This commit is contained in:
		
							parent
							
								
									9a51c3be0f
								
							
						
					
					
						commit
						f4ec6948d2
					
				| @ -31,6 +31,11 @@ | ||||
|         <div class="p-2 w-full"> | ||||
|           <ui-textarea-with-label v-model="podcast.description" :label="$strings.LabelDescription" :rows="3" /> | ||||
|         </div> | ||||
|         <div class="flex flex-wrap"> | ||||
|           <div class="w-full md:w-1/2 p-2"> | ||||
|             <ui-dropdown :label="$strings.LabelPodcastType" v-model="podcast.type" :items="podcastTypes" small /> | ||||
|           </div> | ||||
|         </div> | ||||
|         <div class="flex flex-wrap"> | ||||
|           <div class="w-full md:w-1/2 p-2"> | ||||
|             <ui-dropdown v-model="selectedFolderId" :items="folderItems" :disabled="processing" :label="$strings.LabelFolder" @input="folderUpdated" /> | ||||
| @ -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); | ||||
| } | ||||
| </style> | ||||
| </style> | ||||
|  | ||||
| @ -102,7 +102,7 @@ export default { | ||||
|     }, | ||||
|     podcastTypes() { | ||||
|       return this.$store.state.globals.podcastTypes || [] | ||||
|     }, | ||||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|     getDetails() { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user