From 7947c0eb0371e563e4b79233cc52f2b641ea1a38 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Wed, 21 Oct 2020 16:58:42 +0200
Subject: [PATCH] FIX #15011 TIME 0:05 fix icon

---
 .../app/indexation/indexing-form/indexing-form.component.html   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/indexation/indexing-form/indexing-form.component.html b/src/frontend/app/indexation/indexing-form/indexing-form.component.html
index 5af7b8d0a4d..7ae775d6642 100644
--- a/src/frontend/app/indexation/indexing-form/indexing-form.component.html
+++ b/src/frontend/app/indexation/indexing-form/indexing-form.component.html
@@ -197,7 +197,7 @@
                                         *ngIf="adminMode || (arrFormControl['diffusionList'].hasError('required') && arrFormControl['diffusionList'].untouched)"
                                         [class.noMandatory]="!field.mandatory"></i>
                                     <i class="fas fa-exclamation-triangle fieldError"
-                                        *ngIf="!adminMode && arrFormControl['diffusionList'].touched && arrFormControl['diffusionList'].hasError('required')"></i>
+                                        *ngIf="!adminMode && arrFormControl['diffusionList'].touched && arrFormControl['diffusionList'].status === 'INVALID'"></i>
                                     <i class="fas fa-check fieldFull"
                                         *ngIf="!adminMode && arrFormControl['diffusionList'].valid && !isEmptyField(field)"></i>
                                 </div>
-- 
GitLab