refactor: cut web results over to competition projections

This commit is contained in:
dahyeon committed 2026-07-12 20:11:24 +00:00
1 parent 7db97c540b
commit 6bddb666fc
13 files changed
+2153 -3885

No files matched your search

+2 -3
View File
@@ -32,7 +32,6 @@ const DEFAULT_FORM: MatchMutationRequest = {
const GAME_MODE_LABEL: Record<MatchGameMode, string> = {
pair: '페어',
bracket: '브래킷',
'round-robin': '라운드 로빈',
'double-elimination': '더블 엘리미네이션',
};
@@ -131,7 +130,7 @@ function makeForm(match?: ApiMatch): MatchMutationRequest & {
gameMode: match.gameMode ?? 'pair',
roundRobinMaxRounds: match.roundRobinMaxRounds,
doubleEliminationResetFinalEnabled:
match.doubleElimination?.resetFinalEnabled ?? true,
match.doubleEliminationResetFinalEnabled ?? true,
prizes: match.prizes,
notices: match.notices,
schedule: match.schedule,
@@ -533,7 +532,7 @@ export default function MatchAdminPage() {
{match.gameMode === 'double-elimination' && (
<span className="block text-xs text-base-content/30">
GF 리셋{' '}
{match.doubleElimination?.resetFinalEnabled
{match.doubleEliminationResetFinalEnabled
? '허용'
: '없음'}
</span>