From a66aa05bcdc15ae1c6df12044ad5890c850e7134 Mon Sep 17 00:00:00 2001 From: enahum Date: Fri, 3 Nov 2017 14:47:18 -0300 Subject: [PATCH] set appSarted as false when logging out and resetting cache (#1092) --- app/mattermost.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mattermost.js b/app/mattermost.js index c6e312964..d992d2a4b 100644 --- a/app/mattermost.js +++ b/app/mattermost.js @@ -358,6 +358,7 @@ export default class Mattermost { }; handleReset = () => { + this.appStarted = false; this.resetBadgeAndVersion(); this.startApp('fade'); }; @@ -560,6 +561,7 @@ export default class Mattermost { const {dispatch, getState} = this.store; await loadConfigAndLicense()(dispatch, getState); + this.appStarted = false; this.startApp('fade'); };