]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10451 Lines with change date equal to the start of leak period are not new
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 28 Mar 2018 14:43:51 +0000 (16:43 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Thu, 29 Mar 2018 09:10:32 +0000 (11:10 +0200)
server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.js

index 3b2b959336675dc2acf8d853ed0a3e8635c1fddc..06cbad04594323fe57bd8d0e1c771cec2cd9a37c 100644 (file)
@@ -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;
   };