Début du travail sur la page de résumé
This commit is contained in:
@@ -14,7 +14,6 @@ import { ServiceComm } from '../../services/serviceComm';
|
||||
|
||||
|
||||
export class ListOfDzsComponent implements OnInit {
|
||||
public listOfDropZones: Array<DropZoneResp> = new Array<DropZoneResp>();
|
||||
public displayedColumns: Array<string> = ['id', 'name', 'latitude', 'longitude', 'address', 'email', 'type'];
|
||||
public dataSourceTable;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@@ -31,7 +30,6 @@ export class ListOfDzsComponent implements OnInit {
|
||||
getListOfDropZones() {
|
||||
this.serviceApi.getListOfDropZones()
|
||||
.subscribe(data => {
|
||||
this.listOfDropZones = data;
|
||||
this.dataSourceTable = new MatTableDataSource<DropZoneResp>(data);
|
||||
this.dataSourceTable.paginator = this.paginator;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user