Removed unused class and disabled

pull/411/head
cagataycivici 2020-07-16 16:38:53 +03:00
parent 92ed63028a
commit a81a0667e4
1 changed files with 1 additions and 6 deletions

View File

@ -210,8 +210,7 @@ export default {
},
getCategoryClass(category) {
return ['p-menuitem', {
'p-menuitem-active': category === this.activeItem,
'p-disabled': category.disabled
'p-menuitem-active': category === this.activeItem
}, category.class];
},
getCategorySubMenuIcon() {
@ -303,10 +302,6 @@ export default {
</script>
<style>
.p-megamenu .p-grid {
flex-wrap: nowrap;
}
.p-megamenu-root-list {
margin: 0;
padding: 0;