Fix bug showing merge MR in milestone open list

This commit is contained in:
Dmitriy Zaporozhets 2013-03-19 20:11:47 +02:00
parent a3cdaeef66
commit 6880ace1fe

View file

@ -77,7 +77,7 @@
%li=link_to('All Merge Requests', '#')
%ul.well-list
- @merge_requests.each do |merge_request|
%li{data: {closed: merge_request.closed?}}
%li{data: {closed: merge_request.closed? || merge_request.merged?}}
= link_to [@project, merge_request] do
%span.badge.badge-info ##{merge_request.id}
–