Skip to content

Commit deb6bdd

Browse files
committed
Angular PWA Course
1 parent 88a9d33 commit deb6bdd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/app/app.component.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,7 @@ export class AppComponent implements OnInit {
1717

1818
ngOnInit() {
1919

20-
if (this.swUpdate.isEnabled) {
2120

22-
this.swUpdate.available.subscribe(() => {
23-
24-
if(confirm("New version available. Load New Version?")) {
25-
26-
window.location.reload();
27-
}
28-
});
29-
}
3021

3122
}
3223

0 commit comments

Comments
 (0)