chore: updates angular to v17

This commit is contained in:
2025-10-31 18:23:59 -03:00
parent 238b158073
commit 872b8fac3a
4 changed files with 19120 additions and 19461 deletions

View File

@@ -17,7 +17,11 @@ export class UpdateService {
}
public checkForUpdates(): void {
this.swUpdate.available.subscribe((event) => this.promptUser());
this.swUpdate.versionUpdates.subscribe(versionUpdate => {
if (versionUpdate.type === 'VERSION_READY') {
this.promptUser();
}
})
}
private promptUser(): void {