Fix on date

This commit is contained in:
Sébastien ANDRE
2023-12-05 09:36:42 +01:00
parent 64738a581b
commit 6ab76db4f4
4 changed files with 10 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ export class NewJumpComponent implements OnInit {
private countDatasLoaded: number;
private pendingAddRequest: boolean;
private listOfDropZone: Array<DropZoneResp>;
public maxDate: Date;
constructor(private serviceComm: ServiceComm,
private serviceJump: JumpService,
@@ -81,6 +82,8 @@ export class NewJumpComponent implements OnInit {
}
});
this.updateTitle();
this.maxDate = this.dateService.addDays(new Date(), 1);
this.pendingAddRequest = false;
this.initForm();