Fixed #242 - Disabled menuitems opacity is doubled in MenuBar, TieredMenu and ContextMenu
parent
ecdad6c820
commit
deb9861196
|
@ -110,8 +110,7 @@ export default {
|
|||
getItemClass(item) {
|
||||
return [
|
||||
'p-menuitem', item.class, {
|
||||
'p-menuitem-active': this.activeItem === item,
|
||||
'p-disabled': item.disabled,
|
||||
'p-menuitem-active': this.activeItem === item
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -235,8 +235,7 @@ export default {
|
|||
getItemClass(item) {
|
||||
return [
|
||||
'p-menuitem', item.class, {
|
||||
'p-menuitem-active': this.activeItem === item,
|
||||
'p-disabled': item.disabled,
|
||||
'p-menuitem-active': this.activeItem === item
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -186,8 +186,7 @@ export default {
|
|||
getItemClass(item) {
|
||||
return [
|
||||
'p-menuitem', item.class, {
|
||||
'p-menuitem-active': this.activeItem === item,
|
||||
'p-disabled': item.disabled,
|
||||
'p-menuitem-active': this.activeItem === item
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue