summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/charts/_pipelines.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pipelines/charts/_pipelines.haml')
-rw-r--r--app/views/projects/pipelines/charts/_pipelines.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/charts/_pipelines.haml b/app/views/projects/pipelines/charts/_pipelines.haml
index 9de22b39d23..02f1ef4b6da 100644
--- a/app/views/projects/pipelines/charts/_pipelines.haml
+++ b/app/views/projects/pipelines/charts/_pipelines.haml
@@ -30,7 +30,7 @@
%canvas#yearChart.padded{ height: 250 }
%script#pipelinesChartsData{ type: "application/json" }
- - chartData = []
+ - chartData = []
- [:week, :month, :year].each do |scope|
- chartData.push({ 'scope' => scope, 'labels' => @charts[scope].labels, 'totalValues' => @charts[scope].total, 'successValues' => @charts[scope].success })
= chartData.to_json.html_safe