name unify for setting import

This commit is contained in:
Eugenio Romano
2016-08-17 17:55:29 +01:00
parent 9c5d62f5d1
commit f63b8700b4
14 changed files with 109 additions and 67 deletions

View File

@@ -57,9 +57,9 @@ class MyDemoApp {
token: string;
constructor(private authService: AlfrescoAuthenticationService,
private alfrescoSettingsService: AlfrescoSettingsService) {
private settingsService: AlfrescoSettingsService) {
alfrescoSettingsService.ecmHost = this.ecmHost;
settingsService.ecmHost = this.ecmHost;
if (this.authService.getTicket()) {
this.token = this.authService.getTicket();
}
@@ -70,7 +70,7 @@ class MyDemoApp {
}
public updateHost(): void {
this.alfrescoSettingsService.ecmHost = this.ecmHost;
this.settingsService.ecmHost = this.ecmHost;
this.login();
}