forked from Gitlink/forgeplus-react
bug修复
This commit is contained in:
parent
4e666a8a6d
commit
d9e27cf0d8
|
|
@ -95,12 +95,15 @@ class Index extends Component {
|
|||
this.setOptionsList(owner, 'owners');
|
||||
}
|
||||
}).catch(error=>{})
|
||||
|
||||
if(!this.props.current_user.has_gitea_user || (this.props.current_user.has_gitea_user && !this.props.current_user.is_sync_pwd)){
|
||||
this.setState({
|
||||
giteaVisible:true
|
||||
})
|
||||
}
|
||||
|
||||
if(this.props.checkIfLogin()){
|
||||
if(!this.props.current_user.has_gitea_user || (this.props.current_user.has_gitea_user && !this.props.current_user.is_sync_pwd)){
|
||||
this.setState({
|
||||
giteaVisible:true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue