Bug fix
This commit is contained in:
@@ -58,6 +58,7 @@ export class ListOfJumpsComponent implements OnInit {
|
||||
|
||||
this.dataSourceTable = new MatTableDataSource<JumpResp>(data);
|
||||
this.dataSourceTable.paginator = this.paginator;
|
||||
this.paginator.pageSize
|
||||
this.resultsLength = data.length;
|
||||
}, 500);
|
||||
});
|
||||
@@ -71,10 +72,6 @@ export class ListOfJumpsComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
toShow(item: JumpResp) {
|
||||
return item.withCutaway === true || item.notes != undefined;
|
||||
}
|
||||
|
||||
delete(item: JumpResp) {
|
||||
let data : Array<JumpResp> = this.dataSourceTable.data;
|
||||
data = data.filter(d => d.id !== item.id);
|
||||
|
||||
Reference in New Issue
Block a user