From 64738a581b9c71a8200c39c9c1afc0a2374ac401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20ANDRE?= Date: Mon, 4 Dec 2023 19:02:41 +0100 Subject: [PATCH] Fix on the "tunnel flight" table --- .../list-of-tunnel-flights.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Front/skydivelogs-app/src/app/list-of-tunnel-flights/list-of-tunnel-flights.component.ts b/Front/skydivelogs-app/src/app/list-of-tunnel-flights/list-of-tunnel-flights.component.ts index 21780fe..ccffc69 100644 --- a/Front/skydivelogs-app/src/app/list-of-tunnel-flights/list-of-tunnel-flights.component.ts +++ b/Front/skydivelogs-app/src/app/list-of-tunnel-flights/list-of-tunnel-flights.component.ts @@ -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);