diff --git a/app/views/merge_requests/_commits.html.haml b/app/views/merge_requests/_commits.html.haml index 441a7f32..49c8e8cd 100644 --- a/app/views/merge_requests/_commits.html.haml +++ b/app/views/merge_requests/_commits.html.haml @@ -1,4 +1,4 @@ -- unless @commits.empty? +- if @commits.present? .ui-box %h5 Commits (#{@commits.count}) .merge-request-commits