on angular6 do dropdown btn-group
<div class="btn-group" *ngIf="node.status.dresumeStatusChanges[0]?.id != null"> <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="false" aria-expanded="false" (click)="panelExpanded = !panelExpanded" translate>Route </button> <div class="dropdown-menu" *ngFor="let statused of node.status?.dresumeStatusChanges"> <div class="dropdown-item clearfix">{{statused.buttonNameRu}}</div> <div class="dropdown-divider"></div> </div> </div> the problem is that every n-th element is recorded as 1 element and it turns out I only have 1 item in dropdown, but if I look through the code through inspect, all the elements are hidden