diff --git a/assets/components/filters/channel-filter.vue b/assets/components/filters/channel-filter.vue
index 52721387..e813c0b8 100644
--- a/assets/components/filters/channel-filter.vue
+++ b/assets/components/filters/channel-filter.vue
@@ -4,9 +4,9 @@
{{ selectedChannels.length + selectedNetworks.length }} {{ selectedChannels.length + selectedNetworks.length > 1 ? 'channels' : 'channel' }}
+ >{{ selectedLength }} {{ selectedLength > 1 ? 'channels' : 'channel' }}
clear all
@@ -126,6 +126,10 @@ function channelsPerNetwork() {
return Object.values(networks).reduce((acc, network) => [...acc, network, ...(network.children || [])], []);
}
+function selectedLength() {
+ return this.selectedChannels.length + this.selectedNetworks.length;
+}
+
export default {
props: {
filter: {
@@ -145,6 +149,7 @@ export default {
channelsPerNetwork,
selectedChannels,
selectedNetworks,
+ selectedLength,
},
methods: {
getNewRange,