move static data
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import type { CreateLeagueInputDTO } from '@/lib/types/generated/CreateLeagueInputDTO';
|
||||
import { LeagueWizardValidationMessages } from '@/lib/display-objects/LeagueWizardValidationMessages';
|
||||
import { ScoringPresetApplier } from '@/lib/utilities/ScoringPresetApplier';
|
||||
|
||||
export type WizardStep = 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
||||
|
||||
@@ -263,7 +262,7 @@ export class LeagueWizardCommandModel {
|
||||
patternId,
|
||||
customScoringEnabled: false,
|
||||
};
|
||||
this.timings = ScoringPresetApplier.applyToTimings(patternId, this.timings);
|
||||
// Timing defaults are applied by the UI using the selected preset's `defaultTimings` from the API.
|
||||
}
|
||||
|
||||
toCreateLeagueCommand(ownerId: string): CreateLeagueInputDTO {
|
||||
|
||||
Reference in New Issue
Block a user