set appSarted as false when logging out and resetting cache (#1092)

This commit is contained in:
enahum 2017-11-03 14:47:18 -03:00
parent 7c8f735b3b
commit a66aa05bcd

View file

@ -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');
};