|
|
@ -119,20 +119,21 @@ class Fileslists extends Component{
|
|
|
|
}).then((response) => {
|
|
|
|
}).then((response) => {
|
|
|
|
if(response!=undefined){
|
|
|
|
if(response!=undefined){
|
|
|
|
|
|
|
|
|
|
|
|
if(response.data&&response.data){
|
|
|
|
if(response.data&&response.data) {
|
|
|
|
let list=response.data.course_modules;
|
|
|
|
if (response.data.status != 401) {
|
|
|
|
let course_second_categoriess;
|
|
|
|
let list = response.data.course_modules;
|
|
|
|
list.map((item,key)=>{
|
|
|
|
let course_second_categoriess;
|
|
|
|
course_second_categoriess=item.course_second_categories
|
|
|
|
list.map((item, key) => {
|
|
|
|
})
|
|
|
|
course_second_categoriess = item.course_second_categories
|
|
|
|
|
|
|
|
})
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
course_modules:response.data,
|
|
|
|
this.setState({
|
|
|
|
has_course_groups:response.data.has_course_groups,
|
|
|
|
course_modules: response.data,
|
|
|
|
course_second_categories:course_second_categoriess
|
|
|
|
has_course_groups: response.data.has_course_groups,
|
|
|
|
})
|
|
|
|
course_second_categories: course_second_categoriess
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|