Fix typo preventing users from adding more widgets easily

Fixes https://github.com/vector-im/riot-web/issues/9266
This commit is contained in:
Travis Ralston 2019-03-23 23:53:21 -06:00
parent 7b972e476f
commit 1ba23d6833

View file

@ -144,7 +144,7 @@ module.exports = React.createClass({
_launchManageIntegrations: function() {
const IntegrationsManager = sdk.getComponent('views.settings.IntegrationsManager');
this._scalarClient.connect().done(() => {
this.scalarClient.connect().done(() => {
const src = (this.scalarClient !== null && this.scalarClient.hasCredentials()) ?
this.scalarClient.getScalarInterfaceUrlForRoom(this.props.room, 'add_integ') :
null;