Commit 09ad779f authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'jivanvl-change-flag-behaviour-ci-cd-analytics' into 'master'

Change return logic in pipelines_controller

See merge request gitlab-org/gitlab!49846
parents c2e635cb 1e5b7658
......@@ -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