diff options
author | Simon Knox <psimyn@gmail.com> | 2018-08-29 06:25:32 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2018-08-30 06:28:15 +1000 |
commit | 4169dc081752ea26f761673623ddffb0bc1cf068 (patch) | |
tree | 2d83ffe1411aa3b4528d4dfe6ba9c0229b9603a1 /app/assets/javascripts/monitoring/components/graph.vue | |
parent | 30523f79a434f339dc203381d6a9d667c14280c8 (diff) | |
download | gitlab-ce-multiseries.tar.gz |
change a bunch more thingsmultiseries
Diffstat (limited to 'app/assets/javascripts/monitoring/components/graph.vue')
-rw-r--r-- | app/assets/javascripts/monitoring/components/graph.vue | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/javascripts/monitoring/components/graph.vue b/app/assets/javascripts/monitoring/components/graph.vue index 24b9b59d27c..a091ed84363 100644 --- a/app/assets/javascripts/monitoring/components/graph.vue +++ b/app/assets/javascripts/monitoring/components/graph.vue @@ -183,15 +183,16 @@ export default { const d1 = series.values[overlayIndex]; return !(d0 === undefined || d1 === undefined); }) - if (!timeSeriesWithValues) return; + if (!timeSeriesWithValues) { + debugger + return; + } const firstTimeSeries = timeSeriesWithValues; const timeValueOverlay = firstTimeSeries.timeSeriesScaleX.invert(this.point.x); - console.log(timeValueOverlay) const overlayIndex = bisectDate(firstTimeSeries.values, timeValueOverlay); const d0 = firstTimeSeries.values[overlayIndex - 1]; const d1 = firstTimeSeries.values[overlayIndex]; if (d0 === undefined || d1 === undefined) { - console.log('errrrr') return; } const evalTime = timeValueOverlay - d0[0] > d1[0] - timeValueOverlay; @@ -317,7 +318,7 @@ export default { :area-color="path.areaColor" :current-coordinates="currentCoordinates[index]" :current-time-series-index="index" - :show-dot="(showFlagContent && currentCoordinates[index]) ? true : false" + :show-dot="showFlagContent" /> <graph-deployment :deployment-data="reducedDeploymentData" |