Skip to content
Snippets Groups Projects
Commit c4ba9632 authored by François Grand's avatar François Grand
Browse files

feat: display nghyd,jalhyd revisions in console

refs #604
parent a617db08
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!206Resolve "PWA: l'application ne se met pas à jour"
Pipeline #140217 failed
......@@ -223,6 +223,7 @@ export class AppComponent implements OnInit, OnDestroy, Observer {
ngOnInit() {
this.formulaireService.addObserver(this);
this._innerWidth = window.innerWidth;
this.logRevisionInfo();
// Initialise communication with UserConfirmationService.
// When receiving a message from it, open a dialog to ask user to confirm.
......@@ -688,6 +689,12 @@ export class AppComponent implements OnInit, OnDestroy, Observer {
};
}
private logRevisionInfo() {
const ri = this.revisionInfo;
console.log("JaLHyd", ri.jalhyd.date, ri.jalhyd.version);
console.log("ngHyd", ri.nghyd.date, ri.nghyd.version);
}
/**
* sauvegarde du/des formulaires
* @param form formulaire à sélectionner par défaut dans la liste
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment