mirror of https://github.com/vector-im/riot-web
linting
parent
c0d1298c4f
commit
4d83288f4e
|
@ -31,7 +31,7 @@ export default class BridgeTile extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
visible: false
|
visible: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
_toggleVisible() {
|
_toggleVisible() {
|
||||||
|
|
|
@ -39,7 +39,7 @@ export default class BridgeSettingsTab extends React.Component {
|
||||||
if (!content || !content.channel || !content.protocol) {
|
if (!content || !content.channel || !content.protocol) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return <BridgeTile room={room} ev={event}></BridgeTile>
|
return <BridgeTile room={room} ev={event}></BridgeTile>;
|
||||||
}
|
}
|
||||||
|
|
||||||
static getBridgeStateEvents(roomId) {
|
static getBridgeStateEvents(roomId) {
|
||||||
|
@ -76,7 +76,7 @@ export default class BridgeSettingsTab extends React.Component {
|
||||||
<ul className="mx_RoomSettingsDialog_BridgeList">
|
<ul className="mx_RoomSettingsDialog_BridgeList">
|
||||||
{ bridgeEvents.map((event) => this._renderBridgeCard(event, room)) }
|
{ bridgeEvents.map((event) => this._renderBridgeCard(event, room)) }
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>;
|
||||||
} else {
|
} else {
|
||||||
content = <p>{_t(
|
content = <p>{_t(
|
||||||
"This room isn’t bridging messages to any platforms. " +
|
"This room isn’t bridging messages to any platforms. " +
|
||||||
|
@ -86,7 +86,7 @@ export default class BridgeSettingsTab extends React.Component {
|
||||||
// having to re-translate the string when we do.
|
// having to re-translate the string when we do.
|
||||||
a: sub => '',
|
a: sub => '',
|
||||||
},
|
},
|
||||||
)}</p>
|
)}</p>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue