fix sync error with event without stage

This commit is contained in:
tree 2023-06-03 11:29:45 +02:00
rodič 8c598e0450
revize 07501754f1
1 změnil soubory, kde provedl 1 přidání a 2 odebrání

Zobrazit soubor

@ -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),