Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanenko3 committed May 11, 2022
1 parent c98792d commit 00f7e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/tool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/js/tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function setMenuItemCollapsed(menuItem, collapsed = true) {

function collapseMenuRecursive(menu) {
menu
.filter(menuItem => menuItem.items && menuItem.items.length > 0)
.filter(menuItem => menuItem.collapsable && menuItem.items && menuItem.items.length > 0)
.forEach(menuItem => {
setMenuItemCollapsed(menuItem);

Expand Down

0 comments on commit 00f7e90

Please sign in to comment.