SplitSession auch für Rahmenprogramme #36
|
|
@ -48,14 +48,10 @@ function emptySlot() {
|
|||
async function enrichFrameworkSlotSections(slots) {
|
||||
const out = []
|
||||
for (const s of slots || []) {
|
||||
const sec = normalizeUnitToForm({
|
||||
sections: s.sections,
|
||||
exercises: s.exercises,
|
||||
phases: s.phases,
|
||||
})
|
||||
const baseSecs = s.sections && s.sections.length ? s.sections : [defaultSection('Ablauf')]
|
||||
out.push({
|
||||
...s,
|
||||
sections: await enrichSectionsWithVariants(sec),
|
||||
sections: await enrichSectionsWithVariants(baseSecs),
|
||||
})
|
||||
}
|
||||
return out
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user