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 committed by GitHub
parent c3ef5e6f38
commit 9684328123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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