summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-07-03 10:43:56 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-07-03 10:43:56 -0500
commit2a829d0f530c1721271400c46cfc7f0387dc789a (patch)
tree07521f0802119dae6a9d4da81d7c629d2aa4a332 /app
parentc8eef2d2a62f6ac7304c8ab4d50282613e21ec8a (diff)
downloadgitlab-ce-2a829d0f530c1721271400c46cfc7f0387dc789a.tar.gz
Fixed the y_label not setting correctly for each graph on the monitoring dashboardmonitoring-dashboard-fix-y-label
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/monitoring/components/monitoring_column.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/monitoring_column.vue b/app/assets/javascripts/monitoring/components/monitoring_column.vue
index 4f4792877ee..e933634643b 100644
--- a/app/assets/javascripts/monitoring/components/monitoring_column.vue
+++ b/app/assets/javascripts/monitoring/components/monitoring_column.vue
@@ -104,7 +104,7 @@
}
this.data = query.result[0].values;
this.unitOfDisplay = query.unit || 'N/A';
- this.yAxisLabel = this.columnData.y_axis || 'Values';
+ this.yAxisLabel = this.columnData.y_label || 'Values';
this.legendTitle = query.legend || 'Average';
this.graphWidth = this.$refs.baseSvg.clientWidth -
this.margin.left - this.margin.right;