From: Stas Vilchik Date: Thu, 7 Apr 2016 11:07:14 +0000 (+0200) Subject: fix the order of code smells and technical debt in the leak period X-Git-Tag: 5.5-RC1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=006b48f55c912b1d058e4c20cdf73c5e8625dc07;p=sonarqube.git fix the order of code smells and technical debt in the leak period --- diff --git a/server/sonar-web/src/main/js/apps/overview/main/code-smells.js b/server/sonar-web/src/main/js/apps/overview/main/code-smells.js index 56913062013..95fae43f517 100644 --- a/server/sonar-web/src/main/js/apps/overview/main/code-smells.js +++ b/server/sonar-web/src/main/js/apps/overview/main/code-smells.js @@ -58,25 +58,25 @@ export const CodeSmells = React.createClass({ return - + + params={{ resolved: 'false', types: 'CODE_SMELL', sinceLeakPeriod: 'true' }}> - {formatMeasure(newDebt, 'SHORT_WORK_DUR')} + {formatMeasure(newCodeSmells, 'SHORT_INT')} - + + params={{ resolved: 'false', types: 'CODE_SMELL', facetMode: 'debt', sinceLeakPeriod: 'true' }}> - {formatMeasure(newCodeSmells, 'SHORT_INT')} + {formatMeasure(newDebt, 'SHORT_WORK_DUR')}