|
|
|
@ -248,16 +248,10 @@ class DetailTop extends Component{
|
|
|
|
|
this.props.showLoginDialog()
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// if(this.props.checkIfProfileCompleted()===false){
|
|
|
|
|
// this.setState({
|
|
|
|
|
// AccountProfiletype:true
|
|
|
|
|
// })
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
// if(this.props.checkIfProfessionalCertification()===false){
|
|
|
|
|
// this.props.showProfileCompleteDialog()
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
if(this.props.checkIfProfileCompleted()===false){
|
|
|
|
|
this.props.showProfileCompleteDialog()
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
@ -272,16 +266,10 @@ class DetailTop extends Component{
|
|
|
|
|
this.props.showLoginDialog()
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// if(this.props.checkIfProfileCompleted()===false){
|
|
|
|
|
// this.setState({
|
|
|
|
|
// AccountProfiletype:true
|
|
|
|
|
// })
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
// if(this.props.checkIfProfessionalCertification()===false){
|
|
|
|
|
// this.props.showProfileCompleteDialog()
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
if(this.props.checkIfProfileCompleted()===false){
|
|
|
|
|
this.props.showProfileCompleteDialog()
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
Modalstype:true,
|
|
|
|
|