mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-10 22:14:48 +02:00
Fix:Remove from playlist button #987
This commit is contained in:
parent
752e918d26
commit
65d90947c5
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue