summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-11-06 15:38:45 -0600
committerMike Greiling <mike@pixelcog.com>2017-11-06 15:38:45 -0600
commit5cc3e2354218a34954fb1dfc9d0825183bd8e800 (patch)
tree6827690400d8c5cc7150ece87bbe64027847eada
parentcd45895042784e68e61e62c1eaefe52d992ec5de (diff)
downloadgitlab-ce-5cc3e2354218a34954fb1dfc9d0825183bd8e800.tar.gz
fix eslint max-line
-rw-r--r--app/assets/javascripts/monitoring/components/graph/legend.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/graph/legend.vue b/app/assets/javascripts/monitoring/components/graph/legend.vue
index e64ebc5d2a9..01e985cf8a4 100644
--- a/app/assets/javascripts/monitoring/components/graph/legend.vue
+++ b/app/assets/javascripts/monitoring/components/graph/legend.vue
@@ -79,7 +79,8 @@
},
formatMetricUsage(series) {
- const value = series.values[this.currentDataIndex] && series.values[this.currentDataIndex].value;
+ const value = series.values[this.currentDataIndex] &&
+ series.values[this.currentDataIndex].value;
if (isNaN(value)) {
return '-';
}