diff --git a/public/react/src/modules/courses/busyWork/PublishRightnow.js b/public/react/src/modules/courses/busyWork/PublishRightnow.js index 9863a95d6..95d71cb16 100644 --- a/public/react/src/modules/courses/busyWork/PublishRightnow.js +++ b/public/react/src/modules/courses/busyWork/PublishRightnow.js @@ -24,7 +24,8 @@ class PublishRightnow extends Component{ Savesname:undefined, Cancel:undefined, Saves:undefined, - Topvalright:undefined + Topvalright:undefined, + modallate_time:undefined } } open = (usingCheckBeforePost) => { @@ -70,6 +71,7 @@ class PublishRightnow extends Component{ Cancel:this.homeworkhide, Saves:this.homeworkstartend, typs:showdatatypes ? "start" : "end", + modallate_time:showdatatypes?response.data.late_time:undefined, }) } homeworkhide=()=>{ @@ -91,7 +93,8 @@ class PublishRightnow extends Component{ StudentList_value:undefined, addname:undefined, addnametype:false, - addnametab:undefined + addnametab:undefined, + modallate_time:undefined }) } diff --git a/public/react/src/modules/courses/coursesPublic/OneSelfOrderModal.js b/public/react/src/modules/courses/coursesPublic/OneSelfOrderModal.js index d02b99834..60f2df553 100644 --- a/public/react/src/modules/courses/coursesPublic/OneSelfOrderModal.js +++ b/public/react/src/modules/courses/coursesPublic/OneSelfOrderModal.js @@ -483,7 +483,7 @@ class OneSelfOrderModal extends Component{ } {this.state.endtimetype===true&&course_groupstype===true?
{this.state.endtimetypevalue}
:""} - {this.state.endtimetypeid!=undefined&&this.state.endtimetype===true?
{this.state.endtimetypename}{this.state.endtimetypevalue}
:""} + {this.state.endtimetypeid!=undefined&&this.state.endtimetype===true?
{this.state.endtimetypevalue}
:""} {course_groupstype===true?
{this.props.Cancelname} this.propsSaves(group_ids,this.state.endtime)}>{this.props.Savesname}