Évol autour des infos/formulaires du harnais
This commit is contained in:
@@ -14,11 +14,11 @@ export class ListOfGearsComponent implements OnInit {
|
||||
public displayedColumns: Array<string> = [
|
||||
'id',
|
||||
'name',
|
||||
'latitude',
|
||||
'longitude',
|
||||
'address',
|
||||
'email',
|
||||
'type'
|
||||
'manufacturer',
|
||||
'maxSize',
|
||||
'aad',
|
||||
'mainCanopy',
|
||||
'reserveCanopy'
|
||||
];
|
||||
public dataSourceTable: MatTableDataSource<GearResp>;
|
||||
public resultsLength = 0;
|
||||
@@ -37,7 +37,6 @@ export class ListOfGearsComponent implements OnInit {
|
||||
|
||||
getListOfGears() {
|
||||
this.serviceApi.getListOfGears().subscribe(data => {
|
||||
// data.sort((a, b) => (b.isFavorite ? 1 : 0) - (a.isFavorite ? 1 : 0));
|
||||
this.dataSourceTable = new MatTableDataSource<GearResp>(data);
|
||||
this.dataSourceTable.paginator = this.paginator;
|
||||
this.resultsLength = data.length;
|
||||
|
||||
Reference in New Issue
Block a user