Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 22:40:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-05 22:40:33 +0300
commitd7c5be92af9c10cf20e78363c188c1a707a6bb90 (patch)
treedf2d354bc4277c7a0324fb8240bd4e24d58007f2 /app/helpers
parentb28d1361dd1ec63053dbfae475097928c6d01116 (diff)
Add latest changes from gitlab-org/gitlab@15-6-stable-ee
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index ce6900d1779..340f3d45365 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -315,7 +315,8 @@ module ApplicationHelper
class_names << 'epic-boards-page gl-overflow-auto' if current_controller?(:epic_boards)
class_names << 'with-performance-bar' if performance_bar_enabled?
class_names << system_message_class
- class_names << 'logged-out-marketing-header' unless current_user
+ class_names << 'logged-out-marketing-header' if !current_user && ::Gitlab.com?
+
class_names
end