mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Don't fetch widgets unless logged in
This commit is contained in:
parent
74ce5c3541
commit
58ccc7eb0c
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ export class IntegrationManagers {
|
||||||
}
|
}
|
||||||
|
|
||||||
_setupAccountManagers() {
|
_setupAccountManagers() {
|
||||||
|
if (!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…
Reference in a new issue