mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-06 05:28:51 +02: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> {
|
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