Skip to content

Commit

Permalink
fix head queuer
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmeshulam committed Jul 9, 2024
1 parent b4f5dde commit ed36c65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const HeadQueuerJudgingSchedule: React.FC<HeadQueuerJudgingScheduleProps> = ({
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]);

Expand Down

0 comments on commit ed36c65

Please sign in to comment.