Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stage_column_mixin.js « mixins « pipelines « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 578ff4983584a1beaf3a3aecb75ab8f47fedf8f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default {
  props: {
    hasUpstream: {
      type: Boolean,
      required: false,
      default: false,
    },
  },
  methods: {
    buildConnnectorClass(index) {
      return index === 0 && (!this.isFirstColumn || this.hasUpstream) ? 'left-connector' : '';
    },
  },
};