Fix team calendar with cache disabled

pull/1/head
yflory 4 years ago
parent 09af3f1c86
commit 86bf645893

@ -348,7 +348,7 @@ define([
}); });
}, true); }, true);
}).nThen(function () { }).nThen(function () {
if (ctx.store.calendar) { ctx.store.calendar.openTeam(id); } if (ctx.store.modules.calendar) { ctx.store.modules.calendar.openTeam(id); }
cb(); cb();
}); });
}; };
@ -407,6 +407,7 @@ define([
}); });
} }
delete ctx.onReadyHandlers[id]; delete ctx.onReadyHandlers[id];
if (ctx.store.modules.calendar) { ctx.store.modules.calendar.openTeam(id); }
cb(); cb();
}); });

Loading…
Cancel
Save