1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-23 08:00:09 +02: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>(
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.constantsService.disableAddLoginNotificationKey);