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>