From 3eaf86ba2dcb0d0fb152c8eeaedecc4da5540ab8 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Thu, 19 Sep 2024 12:58:56 +0300 Subject: [PATCH] Do not show hidden tracks in the track list --- src/Schedule.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Schedule.jsx b/src/Schedule.jsx index d61da37..4960b81 100644 --- a/src/Schedule.jsx +++ b/src/Schedule.jsx @@ -25,7 +25,9 @@ export default function Schedule({ } - {tracks && Object.entries(tracks).map(([trackId, track]) =>
+ !isTrackHidden(track) + ).map(([trackId, track]) =>