Also check that the client even exists
This commit is contained in:
parent
58ccc7eb0c
commit
d2c7a5a979
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export class IntegrationManagers {
|
||||||
}
|
}
|
||||||
|
|
||||||
_setupAccountManagers() {
|
_setupAccountManagers() {
|
||||||
if (!this._client.getUserId()) return; // not logged in
|
if (!this._client || !this._client.getUserId()) return; // not logged in
|
||||||
const widgets = WidgetUtils.getIntegrationManagerWidgets();
|
const widgets = WidgetUtils.getIntegrationManagerWidgets();
|
||||||
widgets.forEach(w => {
|
widgets.forEach(w => {
|
||||||
const data = w.content['data'];
|
const data = w.content['data'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue