mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 10:53:51 +00:00
refactor: maintain flat orders
This commit is contained in:
committed by
Carlos Valente
parent
78108e316c
commit
4180d0a337
@@ -109,6 +109,7 @@ export const parseExcel = (
|
||||
id: generateId(),
|
||||
title: sheetName,
|
||||
order: [],
|
||||
flatOrder: [],
|
||||
entries: {},
|
||||
revision: 0,
|
||||
};
|
||||
@@ -326,6 +327,7 @@ export const parseExcel = (
|
||||
event.timerType = TimerType.CountDown;
|
||||
}
|
||||
rundown.order.push(id);
|
||||
rundown.flatOrder.push(id);
|
||||
rundown.entries[id] = event;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user