From 006b48f55c912b1d058e4c20cdf73c5e8625dc07 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 7 Apr 2016 13:07:14 +0200 Subject: [PATCH] fix the order of code smells and technical debt in the leak period --- .../src/main/js/apps/overview/main/code-smells.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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')} -- 2.39.5