Skip to content
Snippets Groups Projects

WS-1193: Added pagination to the active requests page

Merged Nathan Bockisch requested to merge ws-1193-active-requests-pagination into main
1 unresolved thread
3 files
+ 28
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -51,6 +51,13 @@
<div>
<app-filter-menu *ngIf="showFilterMenu" [state]="statesToFilter" [daStaff]="qaStaff['DA']" [aodStaff]="qaStaff['AOD']" [srdpStatus]="srdpOptions" [filters]="filters" (filterMenuEventEmitter)="emitFilterEvent($event)"></app-filter-menu>
<mat-paginator
[length]="(sortedActiveRequests$ | async)?.length"
[pageSize]="pageSize"
[pageSizeOptions]="pageSizeOptions"
(page)="changePage($event)"
>
</mat-paginator>
</div>
<table class="mr-2 ml-2 table table-bordered">
<thead class="thead-light">
@@ -113,7 +120,7 @@
</tr>
</thead>
<tbody>
<tr *ngFor="let request of sortedActiveRequests$ | async">
<tr *ngFor="let request of (sortedActiveRequests$ | async) | slice:pageStart:pageStop">
<td>
<button
type="button"
Loading