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:
Diffstat (limited to 'lib/sidebars/projects/menus/learn_gitlab_menu.rb')
-rw-r--r--lib/sidebars/projects/menus/learn_gitlab_menu.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sidebars/projects/menus/learn_gitlab_menu.rb b/lib/sidebars/projects/menus/learn_gitlab_menu.rb
index f29f4a6eed6..16335f5b076 100644
--- a/lib/sidebars/projects/menus/learn_gitlab_menu.rb
+++ b/lib/sidebars/projects/menus/learn_gitlab_menu.rb
@@ -23,7 +23,7 @@ module Sidebars
override :has_pill?
def has_pill?
- context.learn_gitlab_experiment_enabled
+ context.learn_gitlab_enabled
end
override :pill_count
@@ -40,8 +40,7 @@ module Sidebars
{
class: 'home',
data: {
- track_label: 'learn_gitlab',
- track_property: context.learn_gitlab_experiment_tracking_category
+ track_label: 'learn_gitlab'
}
}
end
@@ -53,7 +52,7 @@ module Sidebars
override :render?
def render?
- context.learn_gitlab_experiment_enabled
+ context.learn_gitlab_enabled
end
end
end