summaryrefslogtreecommitdiff
path: root/lib/sidebars/menu_item.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sidebars/menu_item.rb')
-rw-r--r--lib/sidebars/menu_item.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sidebars/menu_item.rb b/lib/sidebars/menu_item.rb
index 0e50c704695..becff240034 100644
--- a/lib/sidebars/menu_item.rb
+++ b/lib/sidebars/menu_item.rb
@@ -37,7 +37,8 @@ module Sidebars
title: title,
icon: sprite_icon,
link: link,
- active_routes: active_routes
+ active_routes: active_routes,
+ pill_count: has_pill ? pill_count : nil
# Check whether support is needed for the following properties,
# in order to get feature parity with the HAML renderer
# https://gitlab.com/gitlab-org/gitlab/-/issues/391864
@@ -47,9 +48,6 @@ module Sidebars
# nav_link_html_options
#
# item_id
- #
- # has_pill
- # pill_count
}
end