ps-toolkit-ui 1.13.74 → 1.13.76

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