This commit is contained in:
Sébastien André
2021-05-03 09:40:30 +02:00
parent 08c923cc72
commit 2e8182d153
7 changed files with 24 additions and 15 deletions

View File

@@ -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);