fix blob input in text viewer (#1942)

This commit is contained in:
Eugenio Romano
2017-06-07 16:26:33 +01:00
committed by Eugenio Romano
parent 145ceccdfd
commit 8cfdc6f561

View File

@@ -97,7 +97,7 @@ export class AboutComponent implements OnInit {
if (corePackage) { if (corePackage) {
let commitIsh = corePackage.version.split('-'); let commitIsh = corePackage.version.split('-');
if (commitIsh.length > 1) { if (commitIsh.length > 1) {
this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + commitIsh; this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + commitIsh[1];
} else { } else {
this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + corePackage.version; this.githubUrlCommitAlpha = this.githubUrlCommitAlpha + corePackage.version;
} }