Projet

Général

Profil

Révision 54800558 src/app/app.component.ts

Voir les différences:

src/app/app.component.ts
33 33
        this.email = getString("email", "");
34 34
        getJSON("https://clicalbum.abuledu.net/api.php").then((r: any) => {
35 35
            console.log("Verification de la version : ", r.APPversion);
36

  
36 37
            console.log("Version locale : ", this.appVersion);
37 38
            setString("serverJSON", JSON.stringify(r));
38 39
            if (this.versionCompare(r.APPversion, this.appVersion) > 0) {
40
                console.log("On propose la mise à jour ...");
39 41
                //On affiche la page de mise à jour
40 42
                this._activatedUrl = "/upgrade";
41 43
                this.routerExtensions.navigate(["/upgrade"]);
44
                return;
42 45
            }
43 46
        }, (e) => {
44 47
            console.log("getJSON Error", e);

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux