|
|
@ -458,17 +458,6 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<mat-paginator
|
|
|
|
|
|
|
|
[length]="totalItems"
|
|
|
|
|
|
|
|
[ngClass]="{
|
|
|
|
|
|
|
|
'd-none': (isLoading && totalItems === 0) || totalItems <= pageSize
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
[pageIndex]="pageIndex"
|
|
|
|
|
|
|
|
[pageSize]="pageSize"
|
|
|
|
|
|
|
|
[showFirstLastButtons]="true"
|
|
|
|
|
|
|
|
(page)="onChangePage($event)"
|
|
|
|
|
|
|
|
></mat-paginator>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ngx-skeleton-loader
|
|
|
|
<ngx-skeleton-loader
|
|
|
|
*ngIf="isLoading"
|
|
|
|
*ngIf="isLoading"
|
|
|
|
animation="pulse"
|
|
|
|
animation="pulse"
|
|
|
@ -479,6 +468,17 @@
|
|
|
|
}"
|
|
|
|
}"
|
|
|
|
></ngx-skeleton-loader>
|
|
|
|
></ngx-skeleton-loader>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<mat-paginator
|
|
|
|
|
|
|
|
[length]="totalItems"
|
|
|
|
|
|
|
|
[ngClass]="{
|
|
|
|
|
|
|
|
'd-none': (isLoading && !totalItems) || totalItems <= pageSize
|
|
|
|
|
|
|
|
}"
|
|
|
|
|
|
|
|
[pageIndex]="pageIndex"
|
|
|
|
|
|
|
|
[pageSize]="pageSize"
|
|
|
|
|
|
|
|
[showFirstLastButtons]="true"
|
|
|
|
|
|
|
|
(page)="onChangePage($event)"
|
|
|
|
|
|
|
|
></mat-paginator>
|
|
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
*ngIf="
|
|
|
|
*ngIf="
|
|
|
|
dataSource?.data.length === 0 && hasPermissionToCreateActivity && !isLoading
|
|
|
|
dataSource?.data.length === 0 && hasPermissionToCreateActivity && !isLoading
|
|
|
|