组织项目列表增加私有标示

This commit is contained in:
caishi 2022-05-30 14:55:02 +08:00
parent ba283d7c13
commit 3d8a910820
1 changed files with 2 additions and 1 deletions

View File

@ -6,8 +6,9 @@ function ListItem({item,key,OIdentifier}) {
return(
<div className="team_project" key={key}>
<p className="t_p_title">
<span className="flex1">
<span className="flex1" style={{display:"flex",alignItems:"center"}}>
<Link to={`/${OIdentifier}/${item.identifier}`} className="name">{item.name}</Link>
{!item.is_public && <span className="privateTag">私有</span> }
{ item.forked_from_project_id && <i className="iconfont icon-fork font-18 color-orange ml8" /> }
{
item.type && item.type === 2 ?