Skip to content

Commit

Permalink
[FIX] web_pwa_cache: Set correct pwa mode when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Tardo committed Sep 14, 2021
1 parent c6671cd commit 13c5ce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_pwa_cache/static/src/js/pwa_manager.js
Expand Up @@ -101,6 +101,7 @@ odoo.define("web_pwa_cache.PWAManager", function(require) {
})
.then(() => {
if (!this.isPWACacheEnabled()) {
this.setPWAMode("online");
return;
}
// Show SW Info modal
Expand Down

0 comments on commit 13c5ce9

Please sign in to comment.