refactor: fix isElectron() call

This commit is contained in:
4gray authored and GitHub committed 2022-10-24 16:29:25 +02:00
1 parent 9b557690c1
commit 68fbc24ec1
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ export function DataFactory(dbService: NgxIndexedDBService, http: HttpClient) {
},
}),
ServiceWorkerModule.register('ngsw-worker.js', {
enabled: AppConfig.production && !isElectron,
enabled: AppConfig.production && !isElectron(),
registrationStrategy: 'registerWhenStable:30000',
}),
],