]> source.dussan.org Git - sonarqube.git/commitdiff
move "Releasability" domain on the first place on the measures page
authorStas Vilchik <vilchiks@gmail.com>
Tue, 17 May 2016 13:07:47 +0000 (15:07 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 17 May 2016 13:36:54 +0000 (15:36 +0200)
server/sonar-web/src/main/js/apps/component-measures/home/reducer.js

index 757889e6860621b45f615817cb291806acc0acf1..1771e6a68bdc367fa51c092d25a18e477a5f99ae 100644 (file)
@@ -32,8 +32,8 @@ const initialState = {
 };
 
 function groupByDomains (measures) {
-  const KNOWN_DOMAINS = ['Reliability', 'Security', 'Maintainability', 'Coverage', 'Duplications', 'Size',
-    'Complexity'];
+  const KNOWN_DOMAINS = ['Releasability', 'Reliability', 'Security', 'Maintainability', 'Coverage', 'Duplications',
+    'Size', 'Complexity'];
 
   const domains = sortBy(toPairs(groupBy(measures, measure => measure.metric.domain)).map(r => {
     const [name, measures] = r;