diff options
Diffstat (limited to 'app/serializers/merge_request_widget_entity.rb')
-rw-r--r-- | app/serializers/merge_request_widget_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/merge_request_widget_entity.rb b/app/serializers/merge_request_widget_entity.rb index 560dd2ea08b..3ed7d9d8914 100644 --- a/app/serializers/merge_request_widget_entity.rb +++ b/app/serializers/merge_request_widget_entity.rb @@ -157,7 +157,7 @@ class MergeRequestWidgetEntity < Grape::Entity end def use_merge_base_with_merged_results? - object.actual_head_pipeline&.merge_request_event_type == :merged_result + object.actual_head_pipeline&.merged_result_pipeline? end def head_pipeline_downloadable_path_for_report_type(file_type) |