refactor done?

need to start testing
This commit is contained in:
2023-09-03 21:47:31 +02:00
parent 442b930334
commit 413f96ee10
3 changed files with 72 additions and 34 deletions
+2
View File
@@ -201,6 +201,8 @@ export const KepzettsegLista: Kepzettseg[] = [
},
]
export const TolvajKepzettsegList = KepzettsegLista.filter(x => x.Osztalyok?.includes(Osztaly.Tolvaj))
export const Kepzettsegek: Record<KepzettsegId, Kepzettseg> =
KepzettsegLista.reduce(
(acc: Record<KepzettsegId, Kepzettseg>, k) => { acc[k.Id] = k; return acc; },