1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-08 11:33:15 +00:00
Files
jslib/common
Addison Beck 4436e5fb60 [bug] Ensure globals set before migration is run are not lost (#629)
* [bug] Ensure globals set before migration is run are not lost

Some fields, like biometrics, are set before we can run the state migration
For some use cases, like initial install, this can lead to migration clearing those fields when it doesn't find them in storage.
This commit sets up an order of checks for migrating globals that considers fields that may already have been set.

* [style] Ran prettier
2022-01-24 08:22:21 -05:00
..
2021-12-13 11:43:10 +01:00