mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
Fix group Leave button tooltip
This commit is contained in:
parent
fd85c74bc5
commit
37b55984ec
@ -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 New Issue
Block a user