Correctif après 1e livraison de l'image

Docker et l'ajout de mon 1e saut PAC.
This commit is contained in:
Sébastien André
2021-03-15 18:17:29 +01:00
parent 351bd03025
commit b7eb56a52d
6 changed files with 36 additions and 3 deletions

View File

@@ -67,7 +67,7 @@
<mat-checkbox [(ngModel)]="withCutaway" name="withCutaway">With a cutaway ?</mat-checkbox>
<mat-form-field>
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate" name="beginDate" disabled>
<input matInput [matDatepicker]="beginDateDp" [(ngModel)]="beginDate" name="beginDate" disabled (ngModelChange)="onChangeBeginDate($event)">
<mat-datepicker-toggle matSuffix [for]="beginDateDp"></mat-datepicker-toggle>
<mat-datepicker #beginDateDp disabled="false"></mat-datepicker>
</mat-form-field>
@@ -102,7 +102,7 @@
</mat-form-field>
<mat-form-field>
<input matInput placeholder="Comments" [(ngModel)]="comments" name="comments" type="text"/>
<textarea matInput placeholder="Comments" [(ngModel)]="comments" name="comments" type="text"></textarea>
<button mat-button *ngIf="comments" matSuffix mat-icon-button aria-label="Clear"
(click)="comments=undefined">
<mat-icon>close</mat-icon>

View File

@@ -11,6 +11,7 @@ import { JumpService } from "../../services/jump.service";
import { JumpTypeService } from "../../services/jump-type.service";
import { GearService } from "../../services/gear.service";
import { isNumber } from "util";
import { ThrowStmt } from "@angular/compiler";
@Component({
selector: "app-new-jump",
@@ -166,6 +167,11 @@ export class NewJumpComponent implements OnInit {
);
}
public onChangeBeginDate(event: any) {
console.log("Date de début : " + event);
this.endDate = event;
}
public notLoadingToDisplay(): boolean {
return !(this.pendingAddRequest || this.countDatasLoaded !== 4);
}