|
|
|
@ -287,7 +287,7 @@ class BoardsNew extends Component{
|
|
|
|
|
const isAdmin = this.props.isAdmin()
|
|
|
|
|
const courseId=this.props.match.params.coursesId;
|
|
|
|
|
const boardId = this.props.match.params.boardId
|
|
|
|
|
|
|
|
|
|
const isCourseEnd = this.props.isCourseEnd()
|
|
|
|
|
return(
|
|
|
|
|
<div className="newMain ">
|
|
|
|
|
<AddDirModal {...this.props}
|
|
|
|
@ -381,7 +381,7 @@ class BoardsNew extends Component{
|
|
|
|
|
<div>
|
|
|
|
|
{menu}
|
|
|
|
|
{
|
|
|
|
|
isAdmin &&
|
|
|
|
|
isAdmin && !isCourseEnd &&
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<Divider style={{ margin: '4px 0' }} />
|
|
|
|
|
<div style={{ padding: '8px', cursor: 'pointer' }} onMouseDown={() => this.refs['addDirModal'].open()}>
|
|
|
|
|