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