|
|
@ -258,7 +258,7 @@ class NewHeader extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NewCoursesAndShixuns=(sum)=>{
|
|
|
|
NewCoursesAndShixuns=(sum)=>{
|
|
|
|
|
|
|
|
|
|
|
|
if(this.props.user&&this.props.user.login=== ""||this.props.user&&this.props.user===null){
|
|
|
|
if(this.props.user&&this.props.user.login=== ""||this.props.user&&this.props.user===null){
|
|
|
|
window.location.href = "/login";
|
|
|
|
window.location.href = "/login";
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|