parent
8c06e275ec
commit
371d93be23
|
|
@ -70,16 +70,16 @@ function Tags(props) {
|
|||
<Link className="hover tagClass font-16" to={`/${owner}/${projectsId}/tree/${item.name}`} onClick={()=>{window.scrollTo(0,0)}}>{item.name}</Link>
|
||||
<div className="tagModel">
|
||||
{
|
||||
item.tagger &&
|
||||
<Tooltip placement="top" title={item.tagger.name}>
|
||||
item.commit?.committer &&
|
||||
<Tooltip placement="top" title={item.commit.committer.name}>
|
||||
{
|
||||
item.tagger.id ?
|
||||
<Link className="mr3 tagModelImg" to={`/${item.tagger.login}`} onClick={()=>{window.scrollTo(0,0)}}>
|
||||
<img src={getImageUrl(`/${item.tagger && item.tagger.image_url}`)} alt="" />
|
||||
item.commit.committer.id ?
|
||||
<Link className="mr3 tagModelImg" to={`/${item.commit.committer.login}`} onClick={()=>{window.scrollTo(0,0)}}>
|
||||
<img src={getImageUrl(`/${item.commit.committer && item.commit.committer.image_url}`)} alt="" />
|
||||
</Link>
|
||||
:
|
||||
<span className="mr3 tagModelImg" style={{ cursor: "default" }} onClick={()=>{window.scrollTo(0,0)}}>
|
||||
<img src={getImageUrl(`/${item.tagger && item.tagger.image_url}`)} alt="" />
|
||||
<img src={getImageUrl(`/${item.commit.committer && item.commit.committer.image_url}`)} alt="" />
|
||||
</span>
|
||||
}
|
||||
</Tooltip>
|
||||
|
|
|
|||
Loading…
Reference in New Issue