|
|
|
@ -179,7 +179,7 @@ class VideoIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
render(){
|
|
|
|
|
const { videos , upload , videoData , type , liveData , lives , page , liveVisible , isSpining , liveId } = this.state;
|
|
|
|
|
const { admin , is_teacher } = this.props.user;
|
|
|
|
|
const { admin , is_teacher , business } = this.props.user;
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<LivesNew
|
|
|
|
@ -199,7 +199,7 @@ class VideoIndex extends Component{
|
|
|
|
|
</Menu>
|
|
|
|
|
</div>
|
|
|
|
|
{
|
|
|
|
|
(admin || is_teacher) &&
|
|
|
|
|
(admin || is_teacher || business) &&
|
|
|
|
|
<li className="fr mt18">
|
|
|
|
|
{
|
|
|
|
|
upload ?
|
|
|
|
|