debian-mirror-gitlab/app/assets/javascripts/runner/components/runner_name.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
321 B
Vue
Raw Normal View History

2021-11-18 22:05:49 +05:30
<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>