mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-12 19:50:46 +01:00
[bug] Default the state version check function to 1 (#657)
This commit is contained in:
parent
7afb748791
commit
0760b53296
@ -461,6 +461,6 @@ export class StateMigrationService<
|
||||
}
|
||||
|
||||
protected async getCurrentStateVersion(): Promise<StateVersion> {
|
||||
return (await this.getGlobals())?.stateVersion;
|
||||
return (await this.getGlobals())?.stateVersion ?? StateVersion.One;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user