Merge pull request 'standalone merge problem' (#214) from caishi/forgeplus-react:standalone into standalone

This commit is contained in:
jasder 2021-10-22 11:44:51 +08:00
commit 987eb39681
2 changed files with 5 additions and 4 deletions

View File

@ -575,7 +575,7 @@ class Detail extends Component {
</span>
}
</div>
</AlignCenter>
</AlignTop>
<div className="mt6" style={{minHeight:"20px"}}>
{
projectDetail && projectDetail.forked_from_project_id && projectDetail.fork_info ?

View File

@ -89,14 +89,15 @@ class EducoderLogin extends Component {
render() {
let {showbool,loginstatus,logini} = this.state;
let { showbool } = this.state;
const { mygetHelmetapi } = this.props;
return (
<div style={newContainer} className=" clearfix" >
<div style={{"justify-content": "center","align-items": "center","width": "100%",textAlign:"center"}}>
<div style={{cursor:"pointer"}}>
{
settings && settings.login_logo_url ?
<img style={{cursor:"pointer"}} alt="" onClick={()=>this.gohome()} width="80px" src={getImageUrl(settings.login_logo_url)}/>
mygetHelmetapi && mygetHelmetapi.login_logo_url ?
<img style={{cursor:"pointer"}} alt="" onClick={()=>this.gohome()} width="80px" src={getImageUrl(mygetHelmetapi.login_logo_url)}/>
:
<img style={{cursor:"pointer"}} alt="" onClick={()=>this.gohome()} src={educodernet} width="80px"/>
}