mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-31 19:18:57 +01:00
Filter all episodes when selecting all
This commit is contained in:
parent
f5e892b862
commit
ab895fa8ed
@ -81,7 +81,7 @@ export default {
|
||||
},
|
||||
selectAll: {
|
||||
get() {
|
||||
return this.episodesSelected.length == this.episodes.length
|
||||
return this.episodesSelected.length == this.episodes.filter((_, index) => !(this.episodes[index].enclosure && this.itemEpisodeMap[this.episodes[index].enclosure.url])).length
|
||||
},
|
||||
set(val) {
|
||||
for (const key in this.selectedEpisodes) {
|
||||
|
Loading…
Reference in New Issue
Block a user