diff options
Diffstat (limited to 'app/serializers/analytics/cycle_analytics/configuration_entity.rb')
-rw-r--r-- | app/serializers/analytics/cycle_analytics/configuration_entity.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/serializers/analytics/cycle_analytics/configuration_entity.rb b/app/serializers/analytics/cycle_analytics/configuration_entity.rb index 45ea7c92758..6a9ec3f5e9e 100644 --- a/app/serializers/analytics/cycle_analytics/configuration_entity.rb +++ b/app/serializers/analytics/cycle_analytics/configuration_entity.rb @@ -11,11 +11,7 @@ module Analytics private def events - (stage_events.events - stage_events.internal_events).sort_by(&:name) - end - - def stage_events - Gitlab::Analytics::CycleAnalytics::StageEvents + Gitlab::Analytics::CycleAnalytics::StageEvents.selectable_events end end end |