From ab895fa8ed219cc028a1ec29aa205efb67618682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Kr=C3=A4mer?= Date: Tue, 12 Apr 2022 14:05:24 +0200 Subject: [PATCH] Filter all episodes when selecting all --- client/components/modals/podcast/EpisodeFeed.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/modals/podcast/EpisodeFeed.vue b/client/components/modals/podcast/EpisodeFeed.vue index 508409cd..e4a23678 100644 --- a/client/components/modals/podcast/EpisodeFeed.vue +++ b/client/components/modals/podcast/EpisodeFeed.vue @@ -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) {