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

@@ -80,8 +80,8 @@ export class MyDemoApp implements OnInit {
token: string;
constructor(private authService: AlfrescoAuthenticationService, private alfrescoSettingsService: AlfrescoSettingsService) {
alfrescoSettingsService.ecmHost = this.ecmHost;
constructor(private authService: AlfrescoAuthenticationService, private settingsService: AlfrescoSettingsService) {
settingsService.ecmHost = this.ecmHost;
if (this.authService.getTicket()) {
this.token = this.authService.getTicket();
@@ -93,7 +93,7 @@ export class MyDemoApp implements OnInit {
}
public updateHost(): void {
this.alfrescoSettingsService.ecmHost = this.ecmHost;
this.settingsService.ecmHost = this.ecmHost;
this.login();
}