Fix on the "tunnel flight" table

This commit is contained in:
Sébastien ANDRE
2023-12-04 19:02:41 +01:00
parent be6f9af954
commit 64738a581b

View File

@@ -29,7 +29,8 @@ export class ListOfTunnelFlightsComponent implements OnInit {
"jumpType", "jumpType",
"nbMinutes", "nbMinutes",
"notes", "notes",
"flightDate" "flightDate",
"actions"
]; ];
constructor(private serviceComm: ServiceComm, constructor(private serviceComm: ServiceComm,
@@ -103,7 +104,7 @@ export class ListOfTunnelFlightsComponent implements OnInit {
this.isLoading = true; this.isLoading = true;
// Get data to show in a table // Get data to show in a table
let endDate = new Date(); let endDate = this.dateService.addMonths(new Date(), 2);
endDate.setHours(0, 0, 0, 0); endDate.setHours(0, 0, 0, 0);
let beginDate = this.computeBeginDateByPeriod(this.selectedPeriod, endDate); let beginDate = this.computeBeginDateByPeriod(this.selectedPeriod, endDate);