This commit is contained in:
Matthew Hodgson 2019-05-19 16:31:25 +01:00
parent a8297a7698
commit c63419f8a2
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,7 @@ module.exports = React.createClass({
},
// return suitable content for the main (text) part of the status bar.
_getContent: function() {s
_getContent: function() {
if (this._shouldShowConnectionError()) {
return (
<div className="mx_RoomStatusBar_connectionLostBar">

View file

@ -353,7 +353,7 @@ module.exports = React.createClass({
});
subtextLabel = subtext ? <span className="mx_RoomTile_subtext">{ subtext }</span> : null;
label = <div title={name} className={nameClasses} dir="auto">{ nameSelected }</div>;
label = <div title={name} className={nameClasses} dir="auto">{ name }</div>;
} else if (this.state.hover) {
const Tooltip = sdk.getComponent("elements.Tooltip");
tooltip = <Tooltip className="mx_RoomTile_tooltip" label={this.props.room.name} dir="auto" />;