diff options
-rw-r--r-- | app/helpers/application_helper.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8e151ef75df..514e4661000 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -90,7 +90,10 @@ module ApplicationHelper end def show_last_push_widget?(event) - event && event.last_push_to_non_root? && - event.project && event.project.merge_requests_enabled + event && + event.last_push_to_non_root? && + !event.rm_ref? && + event.project && + event.project.merge_requests_enabled end end |