Commit 615be423 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '300403-remove-unused-has-downstream-class' into 'master'

Remove unused class in mini pipeline graph

See merge request gitlab-org/gitlab!54936
parents dbe5012f 98ece0da
......@@ -246,9 +246,6 @@ export default {
<div
v-for="(stage, i) in pipeline.details.stages"
:key="i"
:class="{
'has-downstream': hasDownstream(i),
}"
class="stage-container dropdown mr-widget-pipeline-stages"
data-testid="widget-mini-pipeline-graph"
>
......
......@@ -7,9 +7,4 @@ export default {
return [];
},
},
methods: {
hasDownstream() {
return false;
},
},
};
......@@ -12,9 +12,4 @@ export default {
return response ? [response] : [];
},
},
methods: {
hasDownstream(i) {
return i === this.pipeline.details.stages.length - 1 && this.triggered.length;
},
},
};
......@@ -3,19 +3,6 @@
/**
* Cross-project pipelines (applied conditionally to pipeline graph)
*/
.stage-cell {
.stage-container {
&.has-downstream {
&::after {
content: '';
width: 0;
border: 0;
}
}
}
}
.upstream-pipeline {
margin-right: 84px;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment