Swap rejoin / forget
This commit is contained in:
parent
9f9de46b10
commit
a3aea6ba2d
1 changed files with 2 additions and 2 deletions
|
@ -152,15 +152,15 @@ module.exports = React.createClass({
|
|||
}
|
||||
let rejoinBlock;
|
||||
if (!banned) {
|
||||
rejoinBlock = <a onClick={ this.props.onJoinClick }><b>Rejoin</b></a>;
|
||||
rejoinBlock = <div><a onClick={ this.props.onJoinClick }><b>Rejoin</b></a></div>;
|
||||
}
|
||||
joinBlock = (
|
||||
<div>
|
||||
<div className="mx_RoomPreviewBar_join_text">
|
||||
You have been {verb} from {roomName} by {kicker.displayName}.<br />
|
||||
{reason}
|
||||
<a onClick={ this.props.onForgetClick }><b>Forget</b></a><br />
|
||||
{rejoinBlock}
|
||||
<a onClick={ this.props.onForgetClick }><b>Forget</b></a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue