mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-24 23:19:39 -05:00
Fix grand finals connection to 3rd place match with line
This commit is contained in:
parent
eaf5e15031
commit
ab9d3f8a4f
|
|
@ -88,6 +88,10 @@ export function EliminationBracketSide(props: EliminationBracketSideProps) {
|
|||
{matches.map((match, matchIdx) => {
|
||||
const lineType = (() => {
|
||||
if (isLastRound) return "none" as const;
|
||||
if (
|
||||
nextRound?.name === TOURNAMENT.ROUND_NAMES.THIRD_PLACE_MATCH
|
||||
)
|
||||
return "none" as const;
|
||||
if (nextRoundMatchCount === matches.length)
|
||||
return "straight" as const;
|
||||
return matchIdx % 2 === 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user