ps-toolkit-ui 1.13.75 → 1.13.77

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.
@@ -2559,6 +2559,8 @@
2559
2559
  SidebarItemComponent.prototype.isActive = function (item) {
2560
2560
  var e_1, _a;
2561
2561
  if (item.children.length === 0) {
2562
+ console.log(item, this.currentSidebar);
2563
+ console.log(item.id, this.currentSidebar.id, item.id === this.currentSidebar.id);
2562
2564
  return this.currentSidebar && item.id === this.currentSidebar.id;
2563
2565
  }
2564
2566
  try {
@@ -2704,6 +2706,7 @@
2704
2706
  try {
2705
2707
  for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {
2706
2708
  var i = item_1_1.value;
2709
+ console.log(i.controller + (i.action ? i.action : ''), active);
2707
2710
  if (i.controller + (i.action ? i.action : '') === active) {
2708
2711
  return i;
2709
2712
  }