Added basic co-star actor filter to actor page.

This commit is contained in:
DebaucheryLibrarian
2020-09-12 03:09:05 +02:00
parent 24fb267b40
commit 62f5d5111a
7 changed files with 155 additions and 6 deletions

View File

@@ -42,7 +42,7 @@
class="filter-name"
>
<img
v-if="channel.independent || !channel.parent"
v-if="channel.type === 'network' || channel.independent || !channel.parent "
:src="`/img/logos/${channel.slug}/favicon.png`"
class="favicon"
>
@@ -109,7 +109,7 @@ function selectedNetworks() {
function channelsPerNetwork() {
const networks = this.availableChannels.reduce((acc, channel) => {
if (channel.independent || !channel.parent) {
if (channel.type === 'network' || channel.independent || !channel.parent) {
acc[channel.slug] = { ...channel, children: [] };
return acc;
}