|
|
@ -70,6 +70,14 @@ class InfosTopics extends Component{
|
|
|
|
// }else{
|
|
|
|
// }else{
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let types=this.props.match.params.topicstype;
|
|
|
|
|
|
|
|
let professional_certification=this.props.current_user&&this.props.current_user.professional_certification;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(professional_certification===false&&types==="publicly"){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
isSpin:true
|
|
|
|
isSpin:true
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -114,6 +122,8 @@ class InfosTopics extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
searchCategory=(type)=>{
|
|
|
|
searchCategory=(type)=>{
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
category:type,
|
|
|
|
category:type,
|
|
|
|