Update Angular
+ Add a config file to use Docker
This commit is contained in:
@@ -26,7 +26,13 @@ export class AppComponent implements OnInit {
|
||||
this.authenticationService.currentUser.subscribe(
|
||||
x => (this.currentUser = x)
|
||||
);
|
||||
//this.version = ConfigurationHelper.settings.version;
|
||||
|
||||
ConfigurationHelper.settings.subscribe(settings =>
|
||||
{
|
||||
if (settings != null) {
|
||||
this.version = settings.version;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
@@ -108,7 +108,7 @@ const appRoutes: Routes = [
|
||||
|
||||
{ path: "login", component: LoginComponent },
|
||||
|
||||
//{ path: "**", redirectTo: "" },
|
||||
// { path: "**", redirectTo: "" },
|
||||
];
|
||||
|
||||
// Déclaration de la fonction d'initialisation de la configuration
|
||||
|
||||
Reference in New Issue
Block a user