|
|
|
@ -1031,9 +1031,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(this.props.isAdmin())
|
|
|
|
|
this.student();
|
|
|
|
|
console.log("Listofworksstudentone---------------");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
console.log(JSON.stringify(this.props));
|
|
|
|
|
// console.log("Listofworksstudentone---------------");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(JSON.stringify(this.props));
|
|
|
|
|
}
|
|
|
|
|
isupdatas = () => {
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
@ -2498,9 +2498,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
|
|
|
|
|
|
console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
console.log(JSON.stringify(this.props));
|
|
|
|
|
// console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(JSON.stringify(this.props));
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
|