团队项目-团队项目管理-显示的name和跳转的login

This commit is contained in:
caishi 2021-04-20 10:54:20 +08:00
parent 6ee257231d
commit 9b6816e346
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export default (({projects}) => {
return ( return (
<Div> <Div>
<Imgs src={item.project && getImageUrl(`/${item.project.owner_image_url}`)}/> <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> </Div>
) )
}) })

View File

@ -180,7 +180,7 @@ function GroupProjectSetting(props) {
} }
> >
<List.Item.Meta <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> </List.Item>
)} )}