summaryrefslogtreecommitdiffstats
path: root/webapp/root.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-30 21:40:59 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-30 21:40:59 -0400
commitdd20f2c697abf20d752de0e10ba1e98f8cf2b90f (patch)
treeb2c3944a2a33d20cc566318ab44aa12eecd51d8d /webapp/root.jsx
parent8283c18cb0ab3ef7a07f6a6f2d5ae61c109dae96 (diff)
parentbf90d98136965dfd37546e5ecb23d8c6970bed8a (diff)
downloadchat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.tar.gz
chat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.tar.bz2
chat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.zip
Merge pull request #2578 from mattermost/plt-2463
PLT-2463, PLT-2465 Fixing session and logout errors
Diffstat (limited to 'webapp/root.jsx')
-rw-r--r--webapp/root.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/root.jsx b/webapp/root.jsx
index adabe3fa3..9c2708506 100644
--- a/webapp/root.jsx
+++ b/webapp/root.jsx
@@ -142,6 +142,8 @@ function preLoggedIn(nextState, replace, callback) {
const d2 = AsyncClient.getChannels();
+ ErrorStore.clearLastError();
+
$.when(d1, d2).done(() => {
callback();
});