diff --git a/src/app/services/service-worker-update.service.ts b/src/app/services/service-worker-update.service.ts index 621b0154ba615cb1f888c3577632937806e2de3b..3dc0cd48da250082e7bcff7a542491d1ddbfc834 100644 --- a/src/app/services/service-worker-update.service.ts +++ b/src/app/services/service-worker-update.service.ts @@ -43,8 +43,8 @@ export class ServiceWorkerUpdateService { this.notificationService.notify(this.i18nService.localizeText("INFO_SERVICE_WORKER_VERSION_READY", { "ver": newVer }), 10000); // PLANTE si on stocke le message dans une variable !!!! - // const msg = this.i18nService.localizeText("INFO_SERVICE_WORKER_VERSION_READY", { "ver": newVer }); - // this.notificationService.notify(msg, 10000); + // const msg = i18nService.localizeText("INFO_SERVICE_WORKER_VERSION_READY", { "ver": newVer }); + // notificationService.notify(msg, 10000); // -> ReferenceError: can't access lexical declaration 'xxx' before initialization // avec xxx qui varie d'une fois à l'autre !!!