mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
Fix:Remove from playlist button #987
This commit is contained in:
@@ -481,8 +481,8 @@ export default {
|
|||||||
this.$emit('update:processing', true)
|
this.$emit('update:processing', true)
|
||||||
let url = `/api/playlists/${this.playlist.id}/item/${this.serverLibraryItemId}`
|
let url = `/api/playlists/${this.playlist.id}/item/${this.serverLibraryItemId}`
|
||||||
if (this.serverEpisodeId) url += `/${this.serverEpisodeId}`
|
if (this.serverEpisodeId) url += `/${this.serverEpisodeId}`
|
||||||
this.$axios
|
this.$nativeHttp
|
||||||
.$delete(url)
|
.delete(url)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$toast.success('Item removed from playlist')
|
this.$toast.success('Item removed from playlist')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user