diff --git a/src/app/profile/dashboard/orientation-details/orientation-details.component.ts b/src/app/profile/dashboard/orientation-details/orientation-details.component.ts index 6a785c40b0fdba7a175cae376d1db608f9fe39cf..7c4edf1dc6d46373bb97c178028be97425bc6c1d 100644 --- a/src/app/profile/dashboard/orientation-details/orientation-details.component.ts +++ b/src/app/profile/dashboard/orientation-details/orientation-details.component.ts @@ -99,7 +99,11 @@ export class OrientationDetailsComponent implements OnInit { public acknowledgeNewOrientation(): void { if (this.orientation.status === 'new' && this.from === 'todoOrientations') { - this.patchOrientation({ status: 'waiting', action: 'defineAppointment' }); + const action = this.orientation.accompanimentType === 'onlineMediation' ? null : 'defineAppointment'; + this.patchOrientation( + { status: 'waiting', action: action }, + 'Le statut de cette Orientation est passé de "Nouveau" à "En attente"', + ); } }