From d01b7254354ae4bcf243452b8e07da7f86b1ff52 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Thu, 18 Sep 2025 21:37:51 -0500 Subject: [PATCH] fix: null check --- templates/components/TvEpisodeList.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/components/TvEpisodeList.html.twig b/templates/components/TvEpisodeList.html.twig index b085d26..6154900 100644 --- a/templates/components/TvEpisodeList.html.twig +++ b/templates/components/TvEpisodeList.html.twig @@ -2,6 +2,7 @@ class="episode-list flex flex-col gap-4" >
+ {% if this.getEpisodes().items != null %} {% for episode in this.getEpisodes().items %} {% endfor %} + {% endif %}
{% set paginator = this.episodes %} {% include 'partial/tv-episode-list-paginator.html.twig' %}