Skip to content

Commit

Permalink
fix: fixing wrong favorite live filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane committed Sep 25, 2023
1 parent 4ea915b commit 8bcb142
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/FavoritePlaylist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 8bcb142

Please sign in to comment.