[FE][Certs] Add '6 Sibia' preset

This commit is contained in:
Araozu 2023-11-22 12:32:41 -05:00
parent 853cc3eb99
commit 571831891f

View File

@ -4,7 +4,7 @@ import { getCourseMemo } from "../../utils/allCourses";
import { Course } from "../../types/Course"; import { Course } from "../../types/Course";
import { RegistrationPreview } from "."; import { RegistrationPreview } from ".";
type PresetName = "None" | "2 Matpel" | "3 Matpel" | "4 Escolta" | "MD, 2 Matpel" | "3 4x4" | "2 4x4"; type PresetName = "None" | "2 Matpel" | "3 Matpel" | "4 Escolta" | "MD, 2 Matpel" | "3 4x4" | "2 4x4" | "6 Sibia";
function genPresets(): {[k: string]: Array<Accessor<Course | null>>} { function genPresets(): {[k: string]: Array<Accessor<Course | null>>} {
return { return {
@ -37,6 +37,14 @@ function genPresets(): {[k: string]: Array<Accessor<Course | null>>} {
getCourseMemo("4x4"), getCourseMemo("4x4"),
getCourseMemo("Manejo Defensivo"), getCourseMemo("Manejo Defensivo"),
], ],
"6 Sibia": [
getCourseMemo("Matpel 2"),
getCourseMemo("Matpel 1"),
getCourseMemo("Manejo Defensivo"),
getCourseMemo("Primeros Auxilios"),
getCourseMemo("IPERC"),
getCourseMemo("Lucha contra Incendios"),
],
}; };
} }