set appSarted as false when logging out and resetting cache (#1092)
This commit is contained in:
parent
7c8f735b3b
commit
a66aa05bcd
1 changed files with 2 additions and 0 deletions
|
|
@ -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');
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue