mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-24 12:06:54 -05:00
Make invitationals actually invitational Closes #2013
This commit is contained in:
@@ -872,7 +872,7 @@ export class Tournament {
|
||||
|
||||
if (this.isLeagueSignup || this.isLeagueDivision) return 8;
|
||||
|
||||
const maxMembersBeforeStart = this.isInvitational ? 5 : 6;
|
||||
const maxMembersBeforeStart = 6;
|
||||
|
||||
if (this.hasStarted) {
|
||||
return maxMembersBeforeStart + 1;
|
||||
@@ -913,6 +913,8 @@ export class Tournament {
|
||||
}
|
||||
|
||||
get registrationOpen() {
|
||||
if (this.isInvitational) return false;
|
||||
|
||||
return this.registrationClosesAt > new Date();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user