Skip to content

Commit

Permalink
fix(3171): workflow graph is not rendering in pipeline template detai…
Browse files Browse the repository at this point in the history
…l page (#1145)
  • Loading branch information
sagar1312 authored Sep 6, 2024
1 parent 324b036 commit ac92ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/pipeline/detail/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ export default class TemplatesPipelineDetailController extends Controller {
}

get workflowGraph() {
const { config } = this.selectedVersionTemplate;
const { workflowGraph } = this.selectedVersionTemplate;

const defaultWorkflowGraph = {
nodes: [],
edges: []
};

return config.workflowGraph || defaultWorkflowGraph;
return workflowGraph || defaultWorkflowGraph;
}

get jobs() {
Expand Down

0 comments on commit ac92ede

Please sign in to comment.