fix: timesheet table initial ordering

This commit is contained in:
Jacobtread 2026-04-14 10:19:34 +12:00
parent dff32ab575
commit 4e6809c6de

View file

@ -132,6 +132,10 @@ export class TimesheetTable extends DomComponent {
depth: 0,
}));
// Need to reverse the order of the initial stack so that it's iterated in
// the correct order
stack.reverse();
while (stack.length > 0) {
const { entry, depth } = stack.pop()!;