ocket8888 commented on code in PR #6914:
URL: https://github.com/apache/trafficcontrol/pull/6914#discussion_r906313041
##########
experimental/traffic-portal/src/app/shared/generic-table/generic-table.component.html:
##########
@@ -21,7 +21,7 @@
<fa-icon [icon]="caretIcon" class="caret"
[ngClass]="{'rotate': showMenu}"></fa-icon>
</button>
<mat-menu #menu="matMenu">
- <button mat-menu-item *ngFor="let c of columns;
orderBy:'colDef.headerName'" (click)="toggleVisibility($event, c.getColId())">
+ <button mat-menu-item *ngFor="let c of columns"
(click)="toggleVisibility($event, c.getColId())">
Review Comment:
Yeah I'm seeing that too, looks like they dropped support for ordering in
NgFor in favor of just having you pass the collection in the order you want it.
I'm not sure why, since that's not trivial for asynchronous data sources.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]