ps-toolkit-ui 1.13.74 → 1.13.75

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,8 +2559,7 @@
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, 33333333);
2563
- return this.currentSidebar && item.name === this.currentSidebar.name;
2562
+ return this.currentSidebar && item.id === this.currentSidebar.id;
2564
2563
  }
2565
2564
  try {
2566
2565
  for (var _b = __values(item.children), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -2670,7 +2669,6 @@
2670
2669
  }
2671
2670
  SidebarComponent.prototype.setActive = function () {
2672
2671
  var active = HelperClass.getData('active', this.router.routerState, this.router.routerState.root)[0];
2673
- console.log(active, 111111111);
2674
2672
  this.currentSidebar = this.getSidebarActive(this.sidebar, active);
2675
2673
  };
2676
2674
  SidebarComponent.prototype.ngOnInit = function () {
@@ -2707,7 +2705,6 @@
2707
2705
  for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {
2708
2706
  var i = item_1_1.value;
2709
2707
  if (i.controller + (i.action ? i.action : '') === active) {
2710
- console.log(i.controller + (i.action ? i.action : ''), 222222222);
2711
2708
  return i;
2712
2709
  }
2713
2710
  var ca = this.getSidebarActive(i.children, active);