parent
19d0dc3c04
commit
a4ae4694a2
|
@ -90,7 +90,10 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def show_last_push_widget?(event)
|
def show_last_push_widget?(event)
|
||||||
event && event.last_push_to_non_root? &&
|
event &&
|
||||||
event.project && event.project.merge_requests_enabled
|
event.last_push_to_non_root? &&
|
||||||
|
!event.rm_ref? &&
|
||||||
|
event.project &&
|
||||||
|
event.project.merge_requests_enabled
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue