ngx-sp-auth 3.2.9 → 3.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -2861,7 +2861,7 @@ class MenuLateralComponent {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
this.submenuList = menu.children;
|
|
2863
2863
|
}
|
|
2864
|
-
else if (!menu.children || (menu.children && menu.children.length == 0)) {
|
|
2864
|
+
else if (!menu.children || (menu.children && menu.children.length == 0) || menu.route != "") {
|
|
2865
2865
|
this.submenuList = [];
|
|
2866
2866
|
ref.classList.toggle("selectedItem");
|
|
2867
2867
|
this.onClickedOutside(new Event(""), ref);
|