Skip to content

Commit

Permalink
fix(front): allow admins and mods to bypass testing duration
Browse files Browse the repository at this point in the history
Backend side of this was done, forgot to update frontend.
  • Loading branch information
tsa96 committed Nov 12, 2024
1 parent f836868 commit 6e9d967
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export class MapStatusFormComponent implements OnChanges {
)?.date
).getTime();
this.isBlockedForSubmissionTimeGate =
!(this.mod || this.adm) &&
Date.now() - this.firstEnteredPublicTesting < MIN_PUBLIC_TESTING_DURATION;

this.isBlockedForUnresolvedReviews = reviews.data.some(
Expand Down

0 comments on commit 6e9d967

Please sign in to comment.