ENCOA-311
This commit is contained in:
@@ -157,7 +157,7 @@ const defaultModuleSettings = (module: Module, minTimer: number): ModuleState =>
|
||||
const state: ModuleState = {
|
||||
examLabel: defaultExamLabel(module),
|
||||
minTimer,
|
||||
difficulty: sample(["A1", "A2", "B1", "B2", "C1", "C2"] as Difficulty[])!,
|
||||
difficulty: [sample(["A1", "A2", "B1", "B2", "C1", "C2"] as Difficulty[])!],
|
||||
isPrivate: true,
|
||||
sectionLabels: sectionLabels(module),
|
||||
expandedSections: [1],
|
||||
|
||||
@@ -125,7 +125,7 @@ export interface ModuleState {
|
||||
examLabel: string;
|
||||
sections: SectionState[];
|
||||
minTimer: number;
|
||||
difficulty: Difficulty;
|
||||
difficulty: Difficulty[];
|
||||
isPrivate: boolean;
|
||||
sectionLabels: {id: number; label: string;}[];
|
||||
expandedSections: number[];
|
||||
|
||||
Reference in New Issue
Block a user