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

deployment.vue « components « environments « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ef43ca6bc33821d725860fa3eb6a4f3d1ed612c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<script>
import DeploymentStatusBadge from './deployment_status_badge.vue';

export default {
  components: {
    DeploymentStatusBadge,
  },
  props: {
    deployment: {
      type: Object,
      required: true,
    },
  },
  computed: {
    status() {
      return this.deployment?.status;
    },
  },
};
</script>
<template>
  <div>
    <deployment-status-badge v-if="status" :status="status" />
  </div>
</template>