|
|
|
@ -368,8 +368,6 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
if(result === undefined){
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (result.status === 200) {
|
|
|
|
|
if(this.props.isNotMember()===false) {
|
|
|
|
@ -390,15 +388,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
this.props.Getdataback(result,result.data);
|
|
|
|
|
if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") {
|
|
|
|
|
this.seacthdata(result.data);
|
|
|
|
|
} else {
|
|
|
|
|
} else {
|
|
|
|
|
this.seacthdatas(result.data, result.data.student_works);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}catch (e) {
|
|
|
|
|
console.log(e);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error);
|
|
|
|
|
})
|
|
|
|
|