Skip to content

Commit

Permalink
fix: primefaces#5349, PanelMenu: Menu items with no sub-items togglin…
Browse files Browse the repository at this point in the history
…g border
  • Loading branch information
akshayantony55 committed Nov 20, 2023
1 parent 7e38131 commit 411c4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/panelmenu/PanelMenuBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const classes = {
headerAction: 'p-panelmenu-header-link',
panel: ({ item }) => classNames('p-panelmenu-panel', item.className),
header: ({ active, item }) => classNames('p-component p-panelmenu-header', { 'p-highlight': active, 'p-disabled': item.disabled }),
menuContent: ({ item }) => classNames({'p-panelmenu-content': item && item.items && item.items.length}),
menuContent: ({ item }) => classNames({ 'p-panelmenu-content': item && item.items && item.items.length }),
root: ({ props }) => classNames('p-panelmenu p-component', props.className),
separator: 'p-menu-separator',
toggleableContent: ({ active }) =>
Expand Down

0 comments on commit 411c4fa

Please sign in to comment.