Commit ba5c9fd8 authored by Mikolaj Wawrzyniak's avatar Mikolaj Wawrzyniak

Change feature flag to project gate

parent 3ed77673
......@@ -14,7 +14,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
before_action :expire_etag_cache, only: [:index], unless: -> { request.format.json? }
before_action only: [:metrics, :additional_metrics, :metrics_dashboard] do
push_frontend_feature_flag(:prometheus_computed_alerts)
push_frontend_feature_flag(:metrics_dashboard_annotations)
push_frontend_feature_flag(:metrics_dashboard_annotations, project)
end
after_action :expire_etag_cache, only: [:cancel_auto_stop]
......
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