|
|
@ -74,7 +74,7 @@ class InfosTopics extends Component{
|
|
|
|
isSpin:true
|
|
|
|
isSpin:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
let types=this.props.match.params.topicstype;
|
|
|
|
let types=this.props.match.params.topicstype;
|
|
|
|
let user_id=undefined;
|
|
|
|
let user_id="";
|
|
|
|
|
|
|
|
|
|
|
|
if(types==="publicly"){
|
|
|
|
if(types==="publicly"){
|
|
|
|
user_id=this.props.current_user&&this.props.current_user.login;
|
|
|
|
user_id=this.props.current_user&&this.props.current_user.login;
|
|
|
@ -83,7 +83,7 @@ class InfosTopics extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(user_id!=undefined){
|
|
|
|
if(user_id!=undefined){
|
|
|
|
|
|
|
|
console.log(user_id)
|
|
|
|
let {per_page}=this.state;
|
|
|
|
let {per_page}=this.state;
|
|
|
|
let url=`/users/${user_id}/question_banks.json`;
|
|
|
|
let url=`/users/${user_id}/question_banks.json`;
|
|
|
|
|
|
|
|
|
|
|
|