diff --git a/src/app/profile/dashboard/orientation-details/orientation-details.component.html b/src/app/profile/dashboard/orientation-details/orientation-details.component.html index c11960af754823a76129231a54098e39b5043013..091c72ac717631bf053bb109ed6d2d9814b706cc 100644 --- a/src/app/profile/dashboard/orientation-details/orientation-details.component.html +++ b/src/app/profile/dashboard/orientation-details/orientation-details.component.html @@ -211,7 +211,12 @@ </div> <!-- Close orientation modal--> -<app-modal [opened]="isModalOpenned" [title]="'Clôturer un accompagnement'" (closed)="closeOrientation($event)"> +<app-modal + *ngIf="orientation" + [opened]="isModalOpenned" + [title]="'Clôturer un accompagnement'" + (closed)="closeOrientation($event)" +> <div class="modalContent emphasized"> {{ orientation.personOriented.name }} {{ orientation.personOriented.surname | uppercase }} </div>