forked from matrix/element-web
Merge branch 'develop' into luke/fix-privileged-group-ui-1
This commit is contained in:
commit
6a0ecfba7f
|
@ -325,7 +325,10 @@ module.exports = React.createClass({
|
||||||
if (this.props.groupId &&
|
if (this.props.groupId &&
|
||||||
GroupStoreCache.getGroupStore(this.context.matrixClient, this.props.groupId).isUserPrivileged()
|
GroupStoreCache.getGroupStore(this.context.matrixClient, this.props.groupId).isUserPrivileged()
|
||||||
) {
|
) {
|
||||||
inviteGroup = this.state.phase === this.Phase.GroupMemberList ? (
|
inviteGroup = [
|
||||||
|
this.Phase.GroupMemberInfo,
|
||||||
|
this.Phase.GroupMemberList,
|
||||||
|
].includes(this.state.phase) ? (
|
||||||
<AccessibleButton className="mx_RightPanel_invite" onClick={ this.onInviteButtonClick } >
|
<AccessibleButton className="mx_RightPanel_invite" onClick={ this.onInviteButtonClick } >
|
||||||
<div className="mx_RightPanel_icon" >
|
<div className="mx_RightPanel_icon" >
|
||||||
<TintableSvg src="img/icon-invite-people.svg" width="35" height="35" />
|
<TintableSvg src="img/icon-invite-people.svg" width="35" height="35" />
|
||||||
|
|
Loading…
Reference in New Issue