From 8bcb142cc0ce75cb9d21ac4183e59d0ef5ab3a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Mon, 25 Sep 2023 09:04:42 +0200 Subject: [PATCH] fix: fixing wrong favorite live filter --- src/components/FavoritePlaylist.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/FavoritePlaylist.tsx b/src/components/FavoritePlaylist.tsx index 1127726..1bd3c14 100644 --- a/src/components/FavoritePlaylist.tsx +++ b/src/components/FavoritePlaylist.tsx @@ -28,7 +28,9 @@ export const FavoritePlaylist = memo(() => { const videos = data.filter( (video) => video.type === "video" || video.type === "scheduled" ); - const livestream = data.filter((video) => video.type === "livestream"); + const livestream = data.filter( + (video) => video.type === "livestream" || video.liveNow + ); const playlists = data.filter((video) => video.type === "playlist"); const channels = data.filter((video) => video.type === "channel");