Browse Source

format check

pull/5560/head
Raj Gupta 1 month ago
parent
commit
ee0662dcf6
  1. 2
      apps/client/src/app/components/admin-jobs/admin-jobs.component.ts
  2. 9
      apps/client/src/app/components/admin-jobs/admin-jobs.html

2
apps/client/src/app/components/admin-jobs/admin-jobs.component.ts

@ -204,7 +204,7 @@ export class GfAdminJobsComponent implements OnDestroy, OnInit {
this.dataSource = new MatTableDataSource(jobs);
this.dataSource.sort = this.sort;
this.dataSource.sortingDataAccessor = get;
this.isLoading = false;
this.changeDetectorRef.markForCheck();

9
apps/client/src/app/components/admin-jobs/admin-jobs.html

@ -16,7 +16,14 @@
</mat-select>
</mat-form-field>
</form>
<table class="gf-table w-100" mat-table matSort matSortActive="created" matSortDirection="desc" [dataSource]="dataSource">
<table
class="gf-table w-100"
mat-table
matSort
matSortActive="created"
matSortDirection="desc"
[dataSource]="dataSource"
>
<ng-container matColumnDef="index">
<th
*matHeaderCellDef

Loading…
Cancel
Save