mirror of
https://github.com/dagu-org/dagu.git
synced 2025-12-28 06:34:22 +00:00
fix(ui): build error
This commit is contained in:
parent
8a8510abf9
commit
c56cdf4fc0
@ -150,7 +150,7 @@ export function SubDAGRunsList({
|
||||
'startedAt' in subRun ? subRun.startedAt : null;
|
||||
const status = 'status' in subRun ? subRun.status : null;
|
||||
const statusLabel =
|
||||
'statusLabel' in subRun ? subRun.statusLabel : null;
|
||||
'statusLabel' in subRun ? subRun.statusLabel : undefined;
|
||||
// Display number: when sorted newest first, show descending numbers
|
||||
// So if we have 40 items, displayIndex 0 -> #40, displayIndex 1 -> #39, etc.
|
||||
const displayNumber = allSubRuns.length - displayIndex;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user