Fix on the "tunnel flight" table
This commit is contained in:
@@ -29,7 +29,8 @@ export class ListOfTunnelFlightsComponent implements OnInit {
|
||||
"jumpType",
|
||||
"nbMinutes",
|
||||
"notes",
|
||||
"flightDate"
|
||||
"flightDate",
|
||||
"actions"
|
||||
];
|
||||
|
||||
constructor(private serviceComm: ServiceComm,
|
||||
@@ -103,7 +104,7 @@ export class ListOfTunnelFlightsComponent implements OnInit {
|
||||
this.isLoading = true;
|
||||
|
||||
// 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);
|
||||
let beginDate = this.computeBeginDateByPeriod(this.selectedPeriod, endDate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user