forked from Gitlink/forgeplus-react
gitmodule
This commit is contained in:
parent
71ca30a0b6
commit
be49d50e5d
|
|
@ -33,7 +33,7 @@ function CoderDepotCatalogue({item , goToSubRoot , owner , projectsId , platform
|
|||
<a href={`${item.submodule_git_url.slice(0,item.submodule_git_url.length-4)}`} target="_self">
|
||||
<i className={`iconfont ${typeIco[`${item.type}`]} mr8`}></i>{item.name}
|
||||
</a>
|
||||
<span className="ml2">@</span><a href={`/${owner}/${projectsId}/commits/${truncateCommitId(item.sha)}`} title={item.sha}>{truncateCommitId(item.sha)}</a>
|
||||
<span className="ml2">@</span><a href={`/${item.submodule_git_url.slice(0,item.submodule_git_url.length-4)}/commits/${truncateCommitId(item.sha)}`} title={item.sha}>{truncateCommitId(item.sha)}</a>
|
||||
</React.Fragment>
|
||||
:
|
||||
<a onClick={()=>goToSubRoot(item.path,item.type,item.name)}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue