Fix:Remove from playlist button #987

This commit is contained in:
advplyr 2024-03-04 14:56:58 -06:00
parent 752e918d26
commit 65d90947c5

View file

@ -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')
}) })