PWA debug

This commit is contained in:
2023-06-24 12:17:16 +02:00
parent c1f6ae1042
commit b561b1da3c
2 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export class AppComponent {
private readonly _swUpdate: SwUpdate, private readonly _swUpdate: SwUpdate,
private _notifications: NotificationsService private _notifications: NotificationsService
) { ) {
/*
console.log('Start versionUpdates subscribe', this._swUpdate.isEnabled, environment.production); console.log('Start versionUpdates subscribe', this._swUpdate.isEnabled, environment.production);
this._swUpdate.versionUpdates.subscribe((evt) => { this._swUpdate.versionUpdates.subscribe((evt) => {
console.log('Version update', evt); console.log('Version update', evt);
@@ -39,8 +39,7 @@ export class AppComponent {
} }
}) })
}); });
} l}
}) })
*/
} }
} }

View File

@@ -28,6 +28,7 @@ export class LoginPageComponent implements OnInit {
loading = false; loading = false;
ngOnInit(): void { ngOnInit(): void {
/*
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
window.onGoogleLibraryLoad = () => { window.onGoogleLibraryLoad = () => {
@@ -51,6 +52,7 @@ export class LoginPageComponent implements OnInit {
// @ts-ignore // @ts-ignore
google.accounts.id.prompt(); google.accounts.id.prompt();
}; };
*/
} }
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any