3
0
Fork 0

[FIX] isort, prettier, black: JS lint in all affect modules

15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
KKamaa 2022-03-28 03:43:11 +03:00 committed by sergio-teruel
parent 5c8f37bbec
commit 3a651577f1
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ odoo.define("web_pwa_oca.PWAManager", function (require) {
"Service workers are not supported! Maybe you are not using HTTPS or you work in private mode." "Service workers are not supported! Maybe you are not using HTTPS or you work in private mode."
) )
); );
} else { }
if ("serviceWorker" in navigator) {
this._service_worker = navigator.serviceWorker; this._service_worker = navigator.serviceWorker;
this.registerServiceWorker("/service-worker.js"); this.registerServiceWorker("/service-worker.js");
} }