From: Stas Vilchik Date: Wed, 10 Aug 2016 12:19:17 +0000 (+0200) Subject: SONAR-7920 sort links X-Git-Tag: 6.1-RC1~432 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7bb8cfe63cffa2f0e6eb33c902320e53cfd4cf21;p=sonarqube.git SONAR-7920 sort links --- diff --git a/server/sonar-web/src/main/js/apps/overview/meta/MetaLinks.js b/server/sonar-web/src/main/js/apps/overview/meta/MetaLinks.js index 1bc4b5ce256..067b04483c5 100644 --- a/server/sonar-web/src/main/js/apps/overview/meta/MetaLinks.js +++ b/server/sonar-web/src/main/js/apps/overview/meta/MetaLinks.js @@ -19,7 +19,7 @@ */ import React from 'react'; import { getProjectLinks } from '../../../api/projectLinks'; -import { isProvided } from '../../project-admin/links/utils'; +import { isProvided, orderLinks } from '../../project-admin/links/utils'; export default class MetaLinks extends React.Component { static propTypes = { @@ -64,9 +64,11 @@ export default class MetaLinks extends React.Component { return null; } + const orderedLinks = orderLinks(links); + return (