From 6bbbd54e62cd2eeecceff3ceb463a55d7d5ff303 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Mon, 27 Jul 2020 13:17:56 +0000
Subject: [PATCH] FIX #13671 TIME 0:15 fix remove visa workflow in entities
 list

(cherry picked from commit 1fe32096c368e91f9dff2450464e796e31069886)
---
 .../administration/entity/entities-administration.component.ts  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/administration/entity/entities-administration.component.ts b/src/frontend/app/administration/entity/entities-administration.component.ts
index b48bb3c655e..bdddd95cbaf 100755
--- a/src/frontend/app/administration/entity/entities-administration.component.ts
+++ b/src/frontend/app/administration/entity/entities-administration.component.ts
@@ -591,7 +591,7 @@ export class EntitiesAdministrationComponent implements OnInit {
                 }
             })
         };
-        if (!this.appVisaWorkflow.isValidWorkflow()) {
+        if (!this.appVisaWorkflow.isValidWorkflow() && !this.functions.empty(newDiffList.items)) {
             this.notify.error(this.appVisaWorkflow.getError());
         } else {
             if (this.functions.empty(newDiffList.items)) {
-- 
GitLab