feat(web): align team match names with bracket

This commit is contained in:
dahyeon committed 2026-07-13 22:41:16 -07:00
1 parent bb32c26694
commit dc77b37494
5 files changed
+54 -60

No files matched your search

@@ -170,11 +170,12 @@ export function bracketRoundLabel(
stage: SeriesStageType,
roundNumber?: number,
): string {
const round = roundNumber ?? 1;
switch (stage) {
case "upper":
return `승자조 ${roundNumber ?? 1}라운드`;
return round === 1 ? `브래킷 1R` : `브래킷 상위 ${round}R`;
case "lower":
return `패자조 ${roundNumber ?? 1}라운드`;
return `브래킷 하위 ${round}R`;
case "grand-final":
return "그랜드 파이널";
case "reset-final":
@@ -182,7 +183,7 @@ export function bracketRoundLabel(
case "pair":
return "대진";
case "round-robin":
return `${roundNumber ?? 1}라운드`;
return `${round}라운드`;
}
}