From d2c7a5a9795121ae4ea7f082c17e72ca94009c31 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sat, 10 Aug 2019 14:59:13 -0600 Subject: [PATCH] Also check that the client even exists --- src/integrations/IntegrationManagers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/IntegrationManagers.js b/src/integrations/IntegrationManagers.js index 00b75fa6a7..9c9a1fa228 100644 --- a/src/integrations/IntegrationManagers.js +++ b/src/integrations/IntegrationManagers.js @@ -67,7 +67,7 @@ export class IntegrationManagers { } _setupAccountManagers() { - if (!this._client.getUserId()) return; // not logged in + if (!this._client || !this._client.getUserId()) return; // not logged in const widgets = WidgetUtils.getIntegrationManagerWidgets(); widgets.forEach(w => { const data = w.content['data'];