mirror of https://github.com/vector-im/riot-web
Linting
parent
d5465cf2fa
commit
b529edb5cc
|
@ -52,7 +52,8 @@ export default class IntegrationManager {
|
||||||
static async open(integType, integId, onClose) {
|
static async open(integType, integId, onClose) {
|
||||||
await IntegrationManager._init();
|
await IntegrationManager._init();
|
||||||
const IntegrationsManager = sdk.getComponent("views.settings.IntegrationsManager");
|
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);
|
console.error("Scalar error", global.mxIntegrationManager);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue