Fixed entities table manual sort if pagination disabled

This commit is contained in:
fe-dev 2022-04-25 12:41:29 +03:00
parent 19a953428e
commit a5cb9899f7

View File

@ -262,7 +262,7 @@
class="no-data-found">{{ 'common.loading' | translate }}</span> class="no-data-found">{{ 'common.loading' | translate }}</span>
</div> </div>
<mat-divider *ngIf="displayPagination"></mat-divider> <mat-divider *ngIf="displayPagination"></mat-divider>
<mat-paginator *ngIf="displayPagination" <mat-paginator [fxShow]="displayPagination"
[length]="dataSource.total() | async" [length]="dataSource.total() | async"
[pageIndex]="pageLink.page" [pageIndex]="pageLink.page"
[pageSize]="pageLink.pageSize" [pageSize]="pageLink.pageSize"