aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js
index a3c1a8af6c..bbf45338f5 100644
--- a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js
+++ b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js
@@ -33,7 +33,7 @@ export const mapStateToProps = ({
let { versions = [], selectedVersion } = versionsList;
let { owner, contributors, viewers } = permissions;
- versions.sort((a, b) => Number(a.name) > Number(b.name));
+ versions.sort((a, b) => Number(a.name) - Number(b.name));
const curentSoftwareProduct = softwareProductList.find(
item => item.id === itemId
);