mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[bug] Add several state value defaults (#593)
* [bug] Add several state value defaults * [refactor] Implement StateVersion as an enum * [refactor] Implement StateVersion enum over magic number
This commit is contained in:
@@ -74,7 +74,6 @@ export class StateService<TAccount extends Account = Account>
|
||||
);
|
||||
this.state = diskState;
|
||||
await this.pruneInMemoryAccounts();
|
||||
await this.saveStateToStorage(this.state, await this.defaultOnDiskMemoryOptions());
|
||||
await this.pushAccounts();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user