From 29c9f67091eb2f4fe734b33e498c6da1c061957a Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 9 Oct 2023 14:35:58 +0200 Subject: [PATCH] Fix: ContextMenu: Broken with nested items (10.0) #5064 (#5067) --- components/lib/contextmenu/ContextMenuSub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/contextmenu/ContextMenuSub.js b/components/lib/contextmenu/ContextMenuSub.js index fa60a2193d..dad7563886 100644 --- a/components/lib/contextmenu/ContextMenuSub.js +++ b/components/lib/contextmenu/ContextMenuSub.js @@ -187,7 +187,7 @@ export const ContextMenuSub = React.memo((props) => { className: 'p-menuitem-link', labelClassName: 'p-menuitem-text', iconClassName: 'p-menuitem-icon', - submenuIconClassName, + submenuIconClassName: cx('submenuIcon'), element: content, props, active