From ed36c65faa16bdff3adb52ddd481f160ccbc3798 Mon Sep 17 00:00:00 2001 From: johnmeshulam Date: Tue, 9 Jul 2024 10:54:36 +0300 Subject: [PATCH] fix head queuer --- .../components/queueing/head-queuer-judging-schedule.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/components/queueing/head-queuer-judging-schedule.tsx b/apps/frontend/components/queueing/head-queuer-judging-schedule.tsx index 90d68d53..382de2e7 100644 --- a/apps/frontend/components/queueing/head-queuer-judging-schedule.tsx +++ b/apps/frontend/components/queueing/head-queuer-judging-schedule.tsx @@ -96,7 +96,7 @@ const HeadQueuerJudgingSchedule: React.FC = ({ return groups .filter(group => group.length > 0) .filter(group => !group.some(session => session.status === 'completed')) - .filter(group => group.some(session => session.status !== 'not-started')) + .filter(group => group.some(session => session.status === 'not-started')) .filter(group => currentTime <= dayjs(group[0].scheduledTime).subtract(20, 'minutes')); }, [sessions, currentTime]);