Commit d64bc1e3 authored by Phil Hughes's avatar Phil Hughes Committed by Thong Kuah

Hide the merge request tab popover for anonymous users

Closes https://gitlab.com/gitlab-org/gitlab/issues/195831
parent 4d93c9fd
......@@ -27,7 +27,7 @@ module UserCalloutsHelper
end
def show_tabs_feature_highlight?
!user_dismissed?(TABS_POSITION_HIGHLIGHT) && !Rails.env.test?
current_user && !user_dismissed?(TABS_POSITION_HIGHLIGHT) && !Rails.env.test?
end
private
......
---
title: Hide merge request tab popover for anonymous users
merge_request: 22613
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment