pull/21833/head
Richard Lewis 2018-03-06 11:02:36 +00:00
parent d5465cf2fa
commit b529edb5cc
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ export default class IntegrationManager {
static async open(integType, integId, onClose) {
await IntegrationManager._init();
const IntegrationsManager = sdk.getComponent("views.settings.IntegrationsManager");
if (global.mxIntegrationManager.error || !(global.mxIntegrationManager.client && global.mxIntegrationManager.client.hasCredentials())) {
if (global.mxIntegrationManager.error ||
!(global.mxIntegrationManager.client && global.mxIntegrationManager.client.hasCredentials())) {
console.error("Scalar error", global.mxIntegrationManager);
return;
}