fix sync error with event without stage
This commit is contained in:
rodič
8c598e0450
revize
07501754f1
|
@ -71,8 +71,7 @@ const commands = {
|
|||
if (item.track) {
|
||||
i.track = findTrack(item.track.en);
|
||||
}
|
||||
out.push(i);
|
||||
if (item.slot) {
|
||||
if (item.slot && item.slot.room) {
|
||||
outSchedule.push({
|
||||
id: genId(outSchedule.map((o) => o.id)),
|
||||
stage: findStage(item.slot.room.en),
|
||||
|
|
Načítá se…
Odkázat v novém úkolu