mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
fix: handle undefined value in migration 66
This commit is contained in:
@@ -49,7 +49,7 @@ export class MoveFinalDesktopSettingsMigrator extends Migrator<65, 66> {
|
|||||||
if (enableBrowserIntegrationValue != null) {
|
if (enableBrowserIntegrationValue != null) {
|
||||||
await helper.setToGlobal(
|
await helper.setToGlobal(
|
||||||
BROWSER_INTEGRATION_FINGERPRINT_ENABLED,
|
BROWSER_INTEGRATION_FINGERPRINT_ENABLED,
|
||||||
enableBrowserIntegrationFingerprintValue,
|
enableBrowserIntegrationFingerprintValue ?? false,
|
||||||
);
|
);
|
||||||
delete legacyGlobal.enableBrowserIntegrationFingerprint;
|
delete legacyGlobal.enableBrowserIntegrationFingerprint;
|
||||||
updatedGlobal = true;
|
updatedGlobal = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user