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) {
|
if (item.track) {
|
||||||
i.track = findTrack(item.track.en);
|
i.track = findTrack(item.track.en);
|
||||||
}
|
}
|
||||||
out.push(i);
|
if (item.slot && item.slot.room) {
|
||||||
if (item.slot) {
|
|
||||||
outSchedule.push({
|
outSchedule.push({
|
||||||
id: genId(outSchedule.map((o) => o.id)),
|
id: genId(outSchedule.map((o) => o.id)),
|
||||||
stage: findStage(item.slot.room.en),
|
stage: findStage(item.slot.room.en),
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu