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 = (
); } else if (this.state.scalar_error) { - integrations_section =