diff options
Diffstat (limited to 'lib/sidebars/menu_item.rb')
-rw-r--r-- | lib/sidebars/menu_item.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sidebars/menu_item.rb b/lib/sidebars/menu_item.rb index b0a12e769dc..1375f9fffca 100644 --- a/lib/sidebars/menu_item.rb +++ b/lib/sidebars/menu_item.rb @@ -22,5 +22,13 @@ module Sidebars def render? true end + + def nav_link_html_options + { + data: { + track_label: item_id + } + } + end end end |