Fixed version number in statistics page

This commit is contained in:
nobody 2021-01-24 08:34:18 +01:00
parent 82855a2c9b
commit bdd106c814
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';
}