forked from Gitlink/forgeplus-react
合并--组织团队设置、团队项目列表的跳转login和显示的name
This commit is contained in:
parent
8c1bebcfdc
commit
12322f8785
|
@ -31,7 +31,7 @@ export default (({projects}) => {
|
|||
return (
|
||||
<Div>
|
||||
<Imgs src={item.project && getImageUrl(`/${item.project.owner_image_url}`)}/>
|
||||
<Link to={`/projects/${item.project.owner_name}/${item.project.identifier}`}>{item.project.name}</Link>
|
||||
<Link to={`/projects/${item.project.owner_login}/${item.project.identifier}`}>{item.project.name}</Link>
|
||||
</Div>
|
||||
)
|
||||
})
|
||||
|
|
|
@ -180,7 +180,7 @@ function GroupProjectSetting(props) {
|
|||
}
|
||||
>
|
||||
<List.Item.Meta
|
||||
title={<a href={`/projects/${item.project.owner_name}/${item.project.identifier}`}>{item.project.owner_name}/{item.project.name}</a>}
|
||||
title={<a href={`/projects/${item.project.owner_login}/${item.project.identifier}`}>{item.project.owner_name}/{item.project.name}</a>}
|
||||
/>
|
||||
</List.Item>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue