summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-10 11:07:41 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-10 11:07:41 +0100
commit5c9ad3748749c6c082ae14acd24ef9e5f6468dce (patch)
treef952254ef79752c68ed52fbcb3e8c4089d69405b /server/sonar-web
parent833c1d4fca199800705ac76b1ee9d57aa63cacf1 (diff)
downloadsonarqube-5c9ad3748749c6c082ae14acd24ef9e5f6468dce.tar.gz
sonarqube-5c9ad3748749c6c082ae14acd24ef9e5f6468dce.zip
fix link to added issues from the debt overview
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/components/issue-measure.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js b/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js
index 8387f2b6feb..a0f703d8026 100644
--- a/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js
+++ b/server/sonar-web/src/main/js/apps/overview/components/issue-measure.js
@@ -67,12 +67,14 @@ export const AddedRemovedMeasure = React.createClass({
let added = this.props.leak[this.props.leakMetric] || 0;
let removed = added - leak;
+ let createdAfter = moment(this.props.leakPeriodDate).format('YYYY-MM-DDTHH:mm:ssZZ');
+
return <div className="overview-detailed-measure-leak">
<ul>
<li style={{ display: 'flex', alignItems: 'baseline' }}>
<small className="flex-1 text-left">{window.t('overview.added')}</small>
<IssuesLink className="text-danger"
- component={this.props.component.key} params={{ resolved: 'false' }}>
+ component={this.props.component.key} params={{ resolved: 'false', createdAfter }}>
<span className="overview-detailed-measure-value">
{formatMeasure(added, getShortType(this.props.type))}
</span>