Commit f3b3ee78 authored by Phil Hughes's avatar Phil Hughes

Merge branch '52191-add-mr-reference' into 'master'

Adds MR reference in job sidebar

Closes #52191

See merge request gitlab-org/gitlab-ce!22103
parents 0e1fc6e0 81bff65f
......@@ -46,7 +46,7 @@
v-if="mergeRequest"
:href="mergeRequest.path"
class="js-link-commit link-commit"
>{{ mergeRequest.iid }}</a>
>!{{ mergeRequest.iid }}</a>
</p>
<p class="build-light-text append-bottom-0">
......
......@@ -56,7 +56,7 @@ describe('Commit block', () => {
props.mergeRequest.path,
);
expect(vm.$el.querySelector('.js-link-commit').textContent.trim()).toEqual(
props.mergeRequest.iid,
`!${props.mergeRequest.iid}`,
);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment