Commit 1e5b7658 authored by Jose Vargas's avatar Jose Vargas

Change return logic in pipelines_controller

parent 93f37223
......@@ -188,7 +188,7 @@ class Projects::PipelinesController < Projects::ApplicationController
@charts = {}
@counts = {}
return unless Feature.enabled?(:graphql_pipeline_analytics)
return if Feature.enabled?(:graphql_pipeline_analytics)
@charts[:week] = Gitlab::Ci::Charts::WeekChart.new(project)
@charts[:month] = Gitlab::Ci::Charts::MonthChart.new(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment