Move EE differences dor `app/assets/javascripts/pipelines/components/graph/stage_column_component.vue`
The file `` has differences between CE and EE.
Diferences
diff --git a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/pipelines/components/graph/stage_column_component.vue b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/pipelines/components/graph/stage_column_component.vue
index 09a50d25020..556d26b33c9 100644
--- a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/pipelines/components/graph/stage_column_component.vue
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/pipelines/components/graph/stage_column_component.vue
@@ -27,13 +27,18 @@ export default {
required: false,
default: '',
},
+ hasTriggeredBy: {
+ type: Boolean,
+ required: false,
+ default: false,
+ },
},
methods: {
groupId(group) {
return `ci-badge-${_.escape(group.name)}`;
},
buildConnnectorClass(index) {
- return index === 0 && !this.isFirstColumn ? 'left-connector' : '';
+ return index === 0 && (!this.isFirstColumn || this.hasTriggeredBy) ? 'left-connector' : '';
},
pipelineActionRequestComplete() {
this.$emit('refreshPipelineGraph');
What needs to be done
- Create a mixin