mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update Series description from EditSeriesModal
This commit is contained in:
		
							parent
							
								
									0e83f1f857
								
							
						
					
					
						commit
						60e6e2278a
					
				@ -29,7 +29,7 @@ export default {
 | 
				
			|||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      isProcessing: false,
 | 
					      isProcessing: false,
 | 
				
			||||||
      descriptionValue: ''
 | 
					      descriptionValue: this.series.description || ''
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
@ -53,7 +53,10 @@ export default {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this.isProcessing = true
 | 
					      this.isProcessing = true
 | 
				
			||||||
      // Handle series update
 | 
					      const updateResult = await this.$axios.$patch(`/api/series/${this.series.id}`, payload).catch((error) => {
 | 
				
			||||||
 | 
					        console.error('Failed to update', error)
 | 
				
			||||||
 | 
					        return false
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
      this.isProcessing = false
 | 
					      this.isProcessing = false
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    async saveAndClose() {
 | 
					    async saveAndClose() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user