pay_subject
caicai8 5 years ago
parent 809f63939a
commit 75f2d4d225

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

Loading…
Cancel
Save