Fixed version number in statistics page
This commit is contained in:
parent
82855a2c9b
commit
bdd106c814
|
@ -194,7 +194,7 @@ statistics._displayNameOfFramework = function (str, type) {
|
|||
}
|
||||
version = str.match(Resource.VERSION_EXPRESSION);
|
||||
if (version !== null && version.length > 0) {
|
||||
version = version === 'latest' ? version : 'v' + version;
|
||||
version = version[0] === 'latest' ? version[0] : 'v' + version[0];
|
||||
} else {
|
||||
version = '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue