From 6f6aa25553fe54ece9f2235164534e14c706b808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Sat, 24 Jun 2023 11:17:04 +0200 Subject: [PATCH] PWA debug --- Frontend/src/app/app.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frontend/src/app/app.component.ts b/Frontend/src/app/app.component.ts index e9a6ad4..a191d78 100644 --- a/Frontend/src/app/app.component.ts +++ b/Frontend/src/app/app.component.ts @@ -20,7 +20,9 @@ export class AppComponent { this._swUpdate.versionUpdates.subscribe((evt) => { console.log('Version update', evt); if (evt.type === 'VERSION_READY') { + console.log('tt'); this._swUpdate.activateUpdate().then(() => { + console.log('Update!'); this._notifications.add({ text: "New version available. DiunaBI will restart in 10 seconds.", duration: 10000,