团队项目-团队项目管理-显示的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

@ -10,7 +10,7 @@ export default (({ data , current_user , successFunc }) => {
data.map((item, key) => { data.map((item, key) => {
return ( return (
<Cards <Cards
user={item.user} user={item.user}
img={item.user.image_url} img={item.user.image_url}
name={item.user.name} name={item.user.name}
time={item.created_at} time={item.created_at}

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>
)} )}