Skip to content

Commit f1c126a

Browse files
committed
fix: correct logic for determining old data in workflow execution stages
1 parent 65c9b11 commit f1c126a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/Components/CICDHistory/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export const sanitizeWorkflowExecutionStages = (
258258
(stage) => stage?.stageName === WorkflowExecutionStageNameType.EXECUTION,
259259
)
260260

261-
const isOldData = !!preparationStage
261+
const isOldData = !preparationStage
262262
const computedTriggedOn = isOldData ? executionStage?.startTime : preparationStage?.startTime
263263

264264
let lastStatus: WorkflowStageStatusType = WorkflowStageStatusType.UNKNOWN

0 commit comments

Comments
 (0)