|
|
@ -2552,6 +2552,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
|
|
|
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
|
|
|
|
// try {
|
|
|
|
// if(this.props.isAdmin() === false){
|
|
|
|
// if(this.props.isAdmin() === false){
|
|
|
|
// if(teacherdata&&teacherdata.student_works){
|
|
|
|
// if(teacherdata&&teacherdata.student_works){
|
|
|
|
// if(teacherdata&&teacherdata.student_works.length>0){
|
|
|
|
// if(teacherdata&&teacherdata.student_works.length>0){
|
|
|
@ -2561,6 +2562,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }catch (e) {
|
|
|
|
|
|
|
|
// console.log("Listofworksstudentone123");
|
|
|
|
|
|
|
|
// console.log(e);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
(
|
|
|
|
(
|
|
|
|