Merge pull request #2823 from matrix-org/travis/fix-add-widget-button

Fix typo preventing users from adding more widgets easily
This commit is contained in:
Travis Ralston 2019-03-25 09:59:43 -06:00 committed by GitHub
commit 1172488cce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;