Fixlet to configuration tunable value check.
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 19 Oct 2020 11:03:12 +0000 (13:03 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 19 Oct 2020 11:03:12 +0000 (13:03 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Statistics.js

index 3ec5ef92647f7d35ab5b4c63263fad000673163d..5289a5749326c976500bb19987652d691cf2056b 100644 (file)
@@ -70,7 +70,7 @@ class Statistics {
   }
 
   _displayInterval() {
-    if (Configuration.getStatisticsDisplayInterval() !== 0) {
+    if (Configuration.getStatisticsDisplayInterval() > 0) {
       setInterval(() => {
         this._display();
       }, Configuration.getStatisticsDisplayInterval() * 1000);