Merge pull request #6677 from jfsiebel/manage-users-button-visibility
Don't show manage users option for viewers
This commit is contained in:
commit
d3cdeb5266
@ -203,20 +203,24 @@ class UserParticipants extends Component {
|
||||
<div className={styles.container}>
|
||||
<h2 className={styles.smallTitle}>
|
||||
{intl.formatMessage(intlMessages.usersTitle)}
|
||||
(
|
||||
(
|
||||
{users.length}
|
||||
)
|
||||
|
||||
)
|
||||
</h2>
|
||||
<UserOptionsContainer {...{
|
||||
users,
|
||||
muteAllUsers,
|
||||
muteAllExceptPresenter,
|
||||
setEmojiStatus,
|
||||
meeting,
|
||||
currentUser,
|
||||
}}
|
||||
/>
|
||||
{currentUser.isModerator
|
||||
? (
|
||||
<UserOptionsContainer {...{
|
||||
users,
|
||||
muteAllUsers,
|
||||
muteAllExceptPresenter,
|
||||
setEmojiStatus,
|
||||
meeting,
|
||||
currentUser,
|
||||
}}
|
||||
/>
|
||||
) : null
|
||||
}
|
||||
|
||||
</div>
|
||||
)
|
||||
: <hr className={styles.separator} />
|
||||
|
Loading…
Reference in New Issue
Block a user