Skip to content

Commit

Permalink
fix (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
lturmel authored Dec 8, 2023
1 parent 970d632 commit 834083f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/ext/Dashboard/cells/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,12 @@ export function getEnvironmentStageSummary(build: PipelineReference, environment
}

environments = environments.sort((a,b) => a.id - b.id);
let stagesList = build.timeline.records.filter((x: any) => x.type === "Stage");
// if(build.id === 240) {
// console.log(stagesList);
// }

let stagesList : Array<any> = [];

if(build.timeline !== undefined && build.timeline.records !== undefined) {
stagesList = build.timeline.records.filter((x: any) => x.type === "Stage");
}

let allDeplRecords = Array<any>();
let allStages = Array<string>();
for(let i=0;i<environments.length;i++) {
Expand Down

0 comments on commit 834083f

Please sign in to comment.