diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js
index 3a401c7de..d587dc337 100644
--- a/public/react/src/modules/login/LoginDialog.js
+++ b/public/react/src/modules/login/LoginDialog.js
@@ -317,15 +317,18 @@ class LoginDialog extends Component {
});
}
handleDialogClose = () => {
- if(this.props.match===undefined){
- window.location.href="/";
- }else if(this.props.match.path==="/"){
- this.setState({
- isRender: false
- })
- }else{
- window.location.href="/";
- }
+ // if(this.props.match===undefined){
+ // window.location.href="/";
+ // }else if(this.props.match.path==="/"){
+ // this.setState({
+ // isRender: false
+ // })
+ // }else{
+ // window.location.href="/";
+ // }
+ this.setState({
+ isRender: false
+ })
}
loginEDU=()=>{
diff --git a/public/react/src/modules/paths/PathDetail/sendPanel.js b/public/react/src/modules/paths/PathDetail/sendPanel.js
index ff8bfc6c9..84c7d8e23 100644
--- a/public/react/src/modules/paths/PathDetail/sendPanel.js
+++ b/public/react/src/modules/paths/PathDetail/sendPanel.js
@@ -2,6 +2,7 @@ import React,{ Component } from "react";
import { Modal,Radio,Input,Tooltip,Checkbox,Select, Row,Col } from "antd";
import axios from 'axios';
import { SnackbarHOC } from 'educoder';
+import moment from 'moment';
import Modals from '../../modals/Modals';
const Option = Select.Option;
const CheckboxGroup = Checkbox.Group;
@@ -148,14 +149,16 @@ class sendPanel extends Component{
destroyOnClose={true}
>
-
+