release/86 #2

Merged
dahyeon merged 108 commits from release/86 into main 2026-07-15 08:56:05 +00:00
Showing only changes of commit 2d1c33f1e9 - Show all commits
+1 -21
View File
@@ -2585,14 +2585,6 @@ function formatDoubleEliminationMatchState(
return "대기"; return "대기";
} }
function formatDoubleEliminationCompletionType(
completedBy?: ApiDoubleEliminationBracketMatch["completedBy"],
) {
if (completedBy === "walkover") return "부전승";
if (completedBy === "riot-result") return "결과 반영";
return null;
}
function DoubleEliminationBracketSection({ function DoubleEliminationBracketSection({
match, match,
canManage, canManage,
@@ -2987,9 +2979,6 @@ function DoubleEliminationBracketCard({
canManage && canManage &&
bracketMatch.state === "ready" && bracketMatch.state === "ready" &&
Boolean(bracketMatch.teamAIndex && bracketMatch.teamBIndex); Boolean(bracketMatch.teamAIndex && bracketMatch.teamBIndex);
const completionTypeLabel = formatDoubleEliminationCompletionType(
bracketMatch.completedBy,
);
return ( return (
<div <div
@@ -3069,16 +3058,8 @@ function DoubleEliminationBracketCard({
)} )}
/> />
{(completionTypeLabel || canManage) && (
<div className="mt-auto flex min-w-0 items-center justify-between gap-1">
<div className="flex min-w-0 items-center gap-1">
{completionTypeLabel && (
<span className="shrink-0 border border-accent/25 bg-accent/10 px-1 text-xs font-black text-accent-content">
{completionTypeLabel}
</span>
)}
</div>
{canManage && ( {canManage && (
<div className="mt-auto flex min-w-0 justify-end">
<DoubleEliminationBracketCardActions <DoubleEliminationBracketCardActions
bracketMatch={bracketMatch} bracketMatch={bracketMatch}
canApplyWalkover={canApplyWalkover} canApplyWalkover={canApplyWalkover}
@@ -3087,7 +3068,6 @@ function DoubleEliminationBracketCard({
onCancelWalkover={onCancelWalkover} onCancelWalkover={onCancelWalkover}
onCancelResult={onCancelResult} onCancelResult={onCancelResult}
/> />
)}
</div> </div>
)} )}
</div> </div>