diff --git a/public/app/core/time_series2.ts b/public/app/core/time_series2.ts index b8b7ef6ed26..fb58f618e91 100644 --- a/public/app/core/time_series2.ts +++ b/public/app/core/time_series2.ts @@ -191,10 +191,9 @@ export default class TimeSeries { this.stats.logmin = currentValue; } - } - - if (currentValue !== 0) { - this.allIsZero = false; + if (currentValue !== 0) { + this.allIsZero = false; + } } result.push([currentTime, currentValue]);