1
0
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:
Andreas Coroiu
2024-07-02 13:38:35 +02:00
parent 78c2829793
commit ea0e66acec

View File

@@ -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;