1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

null or undefined on GA check

This commit is contained in:
Kyle Spearrin
2018-03-27 08:21:26 -04:00
parent bd457a29d5
commit 63ef6e1e5b

View File

@@ -41,7 +41,7 @@ export class OptionsController {
const disableGa = await this.storageService.get<boolean>( const disableGa = await this.storageService.get<boolean>(
this.constantsService.disableGaKey); this.constantsService.disableGaKey);
this.disableGa = disableGa || (this.platformUtilsService.isFirefox() && disableGa === undefined); this.disableGa = disableGa || (this.platformUtilsService.isFirefox() && disableGa == null);
this.disableAddLoginNotification = await this.storageService.get<boolean>( this.disableAddLoginNotification = await this.storageService.get<boolean>(
this.constantsService.disableAddLoginNotificationKey); this.constantsService.disableAddLoginNotificationKey);