Skip to content

Commit 0f48204

Browse files
authored
Merge pull request #325 from opf/enable_sub_menu_in_sub_header_action_menu
enable sub menu in sub header action menu
2 parents f898fa8 + fe09d8b commit 0f48204

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fair-cloths-guess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openproject/primer-view-components': minor
3+
---
4+
5+
Enable sub menus in sub header action menus

app/components/primer/open_project/sub_header/menu.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def initialize(icon_only: false, leading_icon:, label:, trailing_icon: nil, butt
4646
@menu = Primer::Alpha::ActionMenu.new(**system_arguments)
4747
end
4848

49-
delegate :with_item, :with_divider, :with_avatar_item, :with_group,
49+
delegate :with_item, :with_divider, :with_avatar_item, :with_group, :with_sub_menu_item,
5050
to: :@menu
5151

5252
def before_render

0 commit comments

Comments
 (0)