Skip to content

Commit

Permalink
allow regular workshop lead check in (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
waalbert authored Jan 25, 2025
1 parent 8727ec5 commit 85308f2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ import { ParticipantRole, ReviewStatus, Status } from "@/lib/userRecord";

import ParticipantActionPopover from "./ParticipantActionPopover";

const OUTSIDE_ROLES = [
ParticipantRole.Judge,
ParticipantRole.Sponsor,
ParticipantRole.WorkshopLead,
];
const OUTSIDE_ROLES = [ParticipantRole.Judge, ParticipantRole.Sponsor];

export function isOutsideParticipant(roles: ReadonlyArray<ParticipantRole>) {
return roles.some((role) => OUTSIDE_ROLES.includes(role));
Expand Down

0 comments on commit 85308f2

Please sign in to comment.