mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
Don't clear state if not logged in (#2499)
This commit is contained in:
parent
29402f3109
commit
8cc3539716
@ -253,6 +253,10 @@ export class AppComponent implements OnInit {
|
||||
}
|
||||
|
||||
private async clearComponentStates() {
|
||||
if (!(await this.stateService.getIsAuthenticated())) {
|
||||
return;
|
||||
}
|
||||
|
||||
await Promise.all([
|
||||
this.stateService.setBrowserGroupingComponentState(null),
|
||||
this.stateService.setBrowserCipherComponentState(null),
|
||||
|
Loading…
Reference in New Issue
Block a user