@seniorsistemas/angular-components 15.1.0 → 15.1.1

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.
@@ -7645,7 +7645,7 @@
7645
7645
  TimelineComponent = __decorate([
7646
7646
  core.Component({
7647
7647
  selector: "s-timeline",
7648
- template: "<div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
7648
+ template: "<ng-template *ngIf=\"items?.length\">\n <div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n</ng-template>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
7649
7649
  })
7650
7650
  ], TimelineComponent);
7651
7651
  return TimelineComponent;