null or undefined on GA check
This commit is contained in:
parent
bd457a29d5
commit
63ef6e1e5b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue