Skip to content

Commit

Permalink
Fix #5349: PanelMenu fix from PrimeVue (#5359)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 21, 2023
1 parent d4d5934 commit ea8470b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/panelmenu/PanelMenuBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const classes = {
headerLabel: 'p-menuitem-text',
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 }),
header: ({ active, item }) => classNames('p-component p-panelmenu-header', { 'p-highlight': active && !!item.items, 'p-disabled': item.disabled }),
menuContent: 'p-panelmenu-content',
root: ({ props }) => classNames('p-panelmenu p-component', props.className),
separator: 'p-menu-separator',
Expand Down
3 changes: 2 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"@/service/*": ["service/*"],
"@/data/*": ["data/*"]
}
}
},
"exclude": ["../node_modules", "../dist"]
}

0 comments on commit ea8470b

Please sign in to comment.