mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 03:15:58 +02:00
Add:Buttons to add/remove podcast episodes from player queue
This commit is contained in:
@@ -59,11 +59,7 @@ export default {
|
||||
this.show = false
|
||||
},
|
||||
removeItem(item) {
|
||||
const updatedQueue = this.playerQueueItems.filter((i) => {
|
||||
if (!i.episodeId) return i.libraryItemId !== item.libraryItemId
|
||||
return i.libraryItemId !== item.libraryItemId || i.episodeId !== item.episodeId
|
||||
})
|
||||
this.$store.commit('setPlayerQueueItems', updatedQueue)
|
||||
this.$store.commit('removeItemFromQueue', item)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user