mirror of https://github.com/vector-im/riot-web
Only show membership settings when editing
parent
495465e865
commit
7df3335570
|
@ -757,7 +757,7 @@ export default React.createClass({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>;
|
</div>;
|
||||||
} else if (group.myMembership === 'join') {
|
} else if (group.myMembership === 'join' && this.state.editing) {
|
||||||
let youAreAMemberText = _t("You are a member of this group");
|
let youAreAMemberText = _t("You are a member of this group");
|
||||||
if (this.state.summary.user && this.state.summary.user.is_privileged) {
|
if (this.state.summary.user && this.state.summary.user.is_privileged) {
|
||||||
youAreAMemberText = _t("You are an administrator of this group");
|
youAreAMemberText = _t("You are an administrator of this group");
|
||||||
|
|
Loading…
Reference in New Issue