From 86bf6458937560021594dcb4335b825b04d7df69 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 5 May 2021 16:00:32 +0200 Subject: [PATCH] Fix team calendar with cache disabled --- www/common/outer/team.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/outer/team.js b/www/common/outer/team.js index c5423ff7b..0ec224984 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -348,7 +348,7 @@ define([ }); }, true); }).nThen(function () { - if (ctx.store.calendar) { ctx.store.calendar.openTeam(id); } + if (ctx.store.modules.calendar) { ctx.store.modules.calendar.openTeam(id); } cb(); }); }; @@ -407,6 +407,7 @@ define([ }); } delete ctx.onReadyHandlers[id]; + if (ctx.store.modules.calendar) { ctx.store.modules.calendar.openTeam(id); } cb(); });