Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-11-06 23:51:27 +0300
committerMike Greiling <mike@pixelcog.com>2017-11-06 23:51:27 +0300
commitcd45895042784e68e61e62c1eaefe52d992ec5de (patch)
treef9adfa50de0bdea7529471b04b32d0b3714a7dac /app/assets/javascripts/monitoring/components/graph/legend.vue
parent0816b2806fc426d529fb6d6af484ee38c296a09a (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.vue2
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 '-';
}