From 9e86f1ec6e061d35a6a26d8a938d6ece587f6639 Mon Sep 17 00:00:00 2001
From: Hamza HRAMCHI <hamza.hramchi@xelians.fr>
Date: Mon, 22 Aug 2022 10:20:09 +0200
Subject: [PATCH] FIX #19487 TIME 0:15 check default value of sender

---
 .../app/indexation/indexing-form/indexing-form.component.ts    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
index f5a919ab2fb..f0a43007cc2 100755
--- a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
+++ b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts
@@ -1067,6 +1067,9 @@ export class IndexingFormComponent implements OnInit {
                     }
                 });
                 this.createForm();
+                if (this.arrFormControl['senders'].value.length === 1) {
+                    this.selectedContact(this.arrFormControl['senders'].value[0], 'senders');
+                }
 
             }),
             catchError((err: any) => {
-- 
GitLab