diff --git a/app/views/merge_requests/_commits.html.haml b/app/views/merge_requests/_commits.html.haml index 3c0c44e069..78fe1a062d 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