debian-mirror-gitlab/app/assets/javascripts/runner/components/runner_name.vue
2021-11-18 22:05:49 +05:30

18 lines
321 B
Vue

<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>