revert modify after rebase

This commit is contained in:
Eugenio Romano
2017-08-01 11:10:23 +01:00
committed by Eugenio Romano
parent e1d1e647c6
commit cfa8a222f0
29 changed files with 11359 additions and 198 deletions

View File

@@ -34,11 +34,8 @@ export class AboutComponent implements OnInit {
ecmHost: string = '';
bpmHost: string = '';
githubUrlCommitAlpha: string = 'https://github.com/Alfresco/alfresco-ng2-components/commits/';
configFile: string = '';
ecmHost: string = '';
bpmHost: string = '';
ecmVersion: EcmProductVersionModel = null;
bpmVersion: BpmProductVersionModel = null;
constructor(private http: Http,
private appConfig: AppConfigService,
@@ -107,19 +104,4 @@ export class AboutComponent implements OnInit {
}
}
}
private gitHubLinkCreation(alfrescoPackagesTableRepresentation): void {
let corePackage = alfrescoPackagesTableRepresentation.find((packageUp) => {
return packageUp.name === 'ng2-alfresco-core';
});
if (corePackage) {
let commitIsh = corePackage.version.split('-');
if (commitIsh.length > 1) {
this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + commitIsh[1];
} else {
this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + corePackage.version;
}
}
}
}