refactor: maintain flat orders

This commit is contained in:
Carlos Valente
2025-04-17 10:12:06 +02:00
committed by Carlos Valente
parent 78108e316c
commit 4180d0a337
13 changed files with 71 additions and 25 deletions
+2
View File
@@ -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;
});