Fix group Leave button tooltip
This commit is contained in:
parent
fd85c74bc5
commit
37b55984ec
1 changed files with 2 additions and 2 deletions
|
@ -787,8 +787,8 @@ export default React.createClass({
|
||||||
</div>;
|
</div>;
|
||||||
} else if (group.myMembership === 'join' && this.state.editing) {
|
} else if (group.myMembership === 'join' && this.state.editing) {
|
||||||
const leaveButtonTooltip = this.state.isUserPrivileged ?
|
const leaveButtonTooltip = this.state.isUserPrivileged ?
|
||||||
_t("You are a member of this community") :
|
_t("You are an administrator of this community") :
|
||||||
_t("You are an administrator of this community");
|
_t("You are a member of this community");
|
||||||
const leaveButtonClasses = classnames({
|
const leaveButtonClasses = classnames({
|
||||||
"mx_RoomHeader_textButton": true,
|
"mx_RoomHeader_textButton": true,
|
||||||
"mx_GroupView_textButton": true,
|
"mx_GroupView_textButton": true,
|
||||||
|
|
Loading…
Reference in a new issue