Skip to content
代码片段 群组 项目
提交 9afad599 编辑于 作者: James Rushford's avatar James Rushford 提交者: Simon Knox
浏览文件

Fix url link in vulnerabilities avatar link

上级 a84eac4b
No related branches found
No related tags found
无相关合并请求
......@@ -98,7 +98,7 @@ export default {
<gl-loading-icon v-if="isLoadingUser" class="d-inline ml-1" size="sm" />
<user-avatar-link
v-else-if="user"
:link-href="user.user_path"
:link-href="user.web_url"
:img-src="user.avatar_url"
:img-size="24"
:username="user.name"
......
......@@ -137,7 +137,7 @@ describe('Vulnerability status description component', () => {
expect(userLoadingIcon().exists()).toBe(false);
expect(userAvatar().props()).toMatchObject({
linkHref: user.user_path,
linkHref: user.web_url,
imgSrc: user.avatar_url,
username: user.name,
});
......
......@@ -15,7 +15,7 @@ export default {
id: id + 1,
name: getRandomString(),
username: getRandomString(),
user_path: getRandomUrl(),
web_url: getRandomUrl(),
});
id += 1;
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册