diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-11-06 23:51:27 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-11-06 23:51:27 +0300 |
commit | cd45895042784e68e61e62c1eaefe52d992ec5de (patch) | |
tree | f9adfa50de0bdea7529471b04b32d0b3714a7dac /app/assets/javascripts/monitoring/components/graph/legend.vue | |
parent | 0816b2806fc426d529fb6d6af484ee38c296a09a (diff) |
correctly set the domain of a result set when it is different on other tracks
Diffstat (limited to 'app/assets/javascripts/monitoring/components/graph/legend.vue')
-rw-r--r-- | app/assets/javascripts/monitoring/components/graph/legend.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/graph/legend.vue b/app/assets/javascripts/monitoring/components/graph/legend.vue index e9f209dc9eb..e64ebc5d2a9 100644 --- a/app/assets/javascripts/monitoring/components/graph/legend.vue +++ b/app/assets/javascripts/monitoring/components/graph/legend.vue @@ -79,7 +79,7 @@ }, formatMetricUsage(series) { - const value = series.values[this.currentDataIndex].value; + const value = series.values[this.currentDataIndex] && series.values[this.currentDataIndex].value; if (isNaN(value)) { return '-'; } |