Skip to content

Commit

Permalink
SMM-5 - Simplify check
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk Bura committed Jan 29, 2025
1 parent 896e9c2 commit 3590832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/adminhtml/web/vue/menu-type.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
return ['category', 'product', 'custom_url'].includes(this.item.type);
},
showHideIfEmpty: function() {
return ['category'].includes(this.item.type);
return this.item.type === 'category';
},
},
methods: {
Expand Down

0 comments on commit 3590832

Please sign in to comment.