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