diff --git a/themes-default/slim/views/vue-components/show-selector.mako b/themes-default/slim/views/vue-components/show-selector.mako index 134ccb9092..7afdd82ff0 100644 --- a/themes-default/slim/views/vue-components/show-selector.mako +++ b/themes-default/slim/views/vue-components/show-selector.mako @@ -35,7 +35,7 @@ Vue.component('show-selector', { ]; shows.forEach(show => { - const type = animeSplitHome && show.config.anime ? 1 : 0; + const type = Number(animeSplitHome && show.config.anime); lists[type].shows.push(show); }); diff --git a/themes/dark/templates/vue-components/show-selector.mako b/themes/dark/templates/vue-components/show-selector.mako index 134ccb9092..7afdd82ff0 100644 --- a/themes/dark/templates/vue-components/show-selector.mako +++ b/themes/dark/templates/vue-components/show-selector.mako @@ -35,7 +35,7 @@ Vue.component('show-selector', { ]; shows.forEach(show => { - const type = animeSplitHome && show.config.anime ? 1 : 0; + const type = Number(animeSplitHome && show.config.anime); lists[type].shows.push(show); }); diff --git a/themes/light/templates/vue-components/show-selector.mako b/themes/light/templates/vue-components/show-selector.mako index 134ccb9092..7afdd82ff0 100644 --- a/themes/light/templates/vue-components/show-selector.mako +++ b/themes/light/templates/vue-components/show-selector.mako @@ -35,7 +35,7 @@ Vue.component('show-selector', { ]; shows.forEach(show => { - const type = animeSplitHome && show.config.anime ? 1 : 0; + const type = Number(animeSplitHome && show.config.anime); lists[type].shows.push(show); });