From: Duarte Meneses Date: Wed, 28 Mar 2018 14:43:51 +0000 (+0200) Subject: SONAR-10451 Lines with change date equal to the start of leak period are not new X-Git-Tag: 6.7.3~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f06a639eee611734771ee8d7e335b7bc9a9b3016;p=sonarqube.git SONAR-10451 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 3b2b9593366..06cbad04594 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; };