diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-04-07 13:07:14 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-04-07 13:33:29 +0200 |
commit | 006b48f55c912b1d058e4c20cdf73c5e8625dc07 (patch) | |
tree | f58f86cd6e96147bcdc01ca0d1db01e0bc157ca5 /server | |
parent | 758c8041ac7b0f9f2f36c018d3d86d13889fa2fd (diff) | |
download | sonarqube-006b48f55c912b1d058e4c20cdf73c5e8625dc07.tar.gz sonarqube-006b48f55c912b1d058e4c20cdf73c5e8625dc07.zip |
fix the order of code smells and technical debt in the leak period
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/main/code-smells.js | 12 |
1 files 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 <DomainLeak> <MeasuresList> - <Measure label={getMetricName('new_effort')}> + <Measure label={getMetricName('new_code_smells')}> <IssuesLink component={this.props.component.key} - params={{ resolved: 'false', types: 'CODE_SMELL', facetMode: 'debt', sinceLeakPeriod: 'true' }}> + params={{ resolved: 'false', types: 'CODE_SMELL', sinceLeakPeriod: 'true' }}> <span title={translateWithParameters('widget.as_calculated_on_x', formattedSnapshotDate)} data-toggle="tooltip"> - {formatMeasure(newDebt, 'SHORT_WORK_DUR')} + {formatMeasure(newCodeSmells, 'SHORT_INT')} </span> </IssuesLink> </Measure> - <Measure label={getMetricName('new_code_smells')}> + <Measure label={getMetricName('new_effort')}> <IssuesLink component={this.props.component.key} - params={{ resolved: 'false', types: 'CODE_SMELL', sinceLeakPeriod: 'true' }}> + params={{ resolved: 'false', types: 'CODE_SMELL', facetMode: 'debt', sinceLeakPeriod: 'true' }}> <span title={translateWithParameters('widget.as_calculated_on_x', formattedSnapshotDate)} data-toggle="tooltip"> - {formatMeasure(newCodeSmells, 'SHORT_INT')} + {formatMeasure(newDebt, 'SHORT_WORK_DUR')} </span> </IssuesLink> </Measure> |