diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-08-10 14:19:17 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-08-10 14:19:17 +0200 |
commit | 7bb8cfe63cffa2f0e6eb33c902320e53cfd4cf21 (patch) | |
tree | fd1c69d70be7e84ac0719c03e2279a4f7791381a /server/sonar-web/src/main/js/apps/project-admin/links | |
parent | 143f3c560bcf7ceac9585c1dfea7311f037834cb (diff) | |
download | sonarqube-7bb8cfe63cffa2f0e6eb33c902320e53cfd4cf21.tar.gz sonarqube-7bb8cfe63cffa2f0e6eb33c902320e53cfd4cf21.zip |
SONAR-7920 sort links
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/links')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/links/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/utils.js b/server/sonar-web/src/main/js/apps/project-admin/links/utils.js index 9a34509d38b..d04c67a4c89 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/utils.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/utils.js @@ -36,7 +36,7 @@ export function orderLinks (links) { const [provided, unknown] = partition(links, isProvided); return [ ...sortBy(provided, link => PROVIDED_TYPES.indexOf(link.type)), - ...sortBy(unknown, link => link.name) + ...sortBy(unknown, link => link.name.toLowerCase()) ]; } |