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