summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/runner/components/runner_name.vue
blob: 8e495125e03bd64c0d6aa92c3097c3d90a4d94c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script>
import { getIdFromGraphQLId } from '~/graphql_shared/utils';

export default {
  props: {
    runner: {
      type: Object,
      required: true,
    },
  },
  methods: {
    getIdFromGraphQLId,
  },
};
</script>
<template>
  <span>#{{ getIdFromGraphQLId(runner.id) }} ({{ runner.shortSha }})</span>
</template>