From: Duarte Meneses Date: Mon, 15 Jan 2018 15:11:11 +0000 (+0100) Subject: SONAR-10293 Lines with change date equal to the start of leak period are not new X-Git-Tag: 7.5~1727 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e3d6ec288a892c9b8dd8e69099f5a70c37247554;p=sonarqube.git SONAR-10293 Lines with change date equal to the start of leak period are not new --- diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js index 1398383c84f..2022165e43f 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js +++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js @@ -605,7 +605,7 @@ export default class SourceViewerBase extends React.PureComponent { const { component } = this.state; const leakPeriodDate = component && component.leakPeriodDate; return leakPeriodDate - ? line.scmDate != null && parseDate(line.scmDate) >= leakPeriodDate + ? line.scmDate != null && parseDate(line.scmDate) > leakPeriodDate : false; };