From 942efcae07aa4c67d41c062df885aef8b2b5444a Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 8 Mar 2021 11:26:10 +0100 Subject: [PATCH] Fix type error --- www/common/outer/async-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 091d9a6ad..5953194d3 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -2665,7 +2665,7 @@ define([ loadUniversal(Messenger, 'messenger', waitFor); store.messenger = store.modules['messenger']; loadUniversal(Profile, 'profile', waitFor); - store.modules['team'].onReady(waitFor); + if (store.modules['team']) { store.modules['team'].onReady(waitFor); } loadUniversal(History, 'history', waitFor); }).nThen(function () { var requestLogin = function () {