Closed omikulcik closed 1 year ago
Good catch! Should be fixed in v3.3.1
if (this.stageOne.format === 'swiss' && this.stageOne.rounds === 0) {
this.stageOne.rounds = Math.ceil(Math.log2(this.players.length));
} else if (this.stageOne.format !== 'swiss') {
this.stageOne.rounds = this.matches.reduce((max, curr) => Math.max(max, curr.round), 0);
}
Hi,
when managing a swiss format tournament I would like to have an option to play specified count of rounds and only after this number of rounds is played advance to the next phase.
Currently that is not possible I think because of
Specifically
this.stageOne.rounds = this.matches.reduce((max, curr) => Math.max(max, curr.round), 0);
Is there please some way around?