diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index c3dd3338ff..abc90ae486 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -620,19 +620,25 @@ module.exports = React.createClass({ var integrations_section; if (UserSettingsStore.isFeatureEnabled("integration_management")) { + let integrations_body; + if (this.state.scalar_token) { - integrations_section = ( + integrations_body = (
Manage integrations
); } else if (this.state.scalar_error) { - integrations_section =
+ integrations_body =
Unable to contact integrations server
; } else { - integrations_section = ; + integrations_body = ; } + integrations_section =
+

Integrations

+ {integrations_body} +
; } return ( @@ -719,7 +725,6 @@ module.exports = React.createClass({
-

Integrations

{ integrations_section }