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

runner_name.vue « components « runner « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4ecfd2d776b8514fdaeaefb209508858e295dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script>
import { getIdFromGraphQLId } from '~/graphql_shared/utils';

export default {
  props: {
    runner: {
      type: Object,
      required: true,
    },
  },
  methods: {
    getIdFromGraphQLId,
  },
};
</script>
<template>
  <span class="gl-font-weight-bold gl-vertical-align-middle"
    >#{{ getIdFromGraphQLId(runner.id) }} ({{ runner.shortSha }})</span
  >
</template>