Fix #4816: Menu items with no sub-items toggling border radius
parent
1e98574c80
commit
cffac80201
|
@ -43,7 +43,7 @@ const classes = {
|
|||
header: ({ instance, item }) => [
|
||||
'p-panelmenu-header',
|
||||
{
|
||||
'p-highlight': instance.isItemActive(item),
|
||||
'p-highlight': instance.isItemActive(item) && !!item.items,
|
||||
'p-disabled': instance.isItemDisabled(item)
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue