@seniorsistemas/angular-components 17.31.13 → 17.31.14

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.
@@ -2827,7 +2827,7 @@
2827
2827
  break;
2828
2828
  case " ":
2829
2829
  case "Enter":
2830
- if (!this.tieredMenuService.currentItem.disabled) {
2830
+ if (!this.tieredMenuService.currentItem.disabled && this.items.includes(this.tieredMenuService.currentItem)) {
2831
2831
  this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);
2832
2832
  }
2833
2833
  break;
@@ -2859,6 +2859,7 @@
2859
2859
  };
2860
2860
  TieredMenuComponent.prototype.ngOnInit = function () {
2861
2861
  this.tieredMenuService.currentItems = this.items;
2862
+ this.tieredMenuService.currentItem = this.items[0];
2862
2863
  this._subscribeEvents();
2863
2864
  disabledScroll();
2864
2865
  };