From bfab4e6b4d71f9d00f7f6e02f43e60b8754b4148 Mon Sep 17 00:00:00 2001
From: Imre Toth <imre.toth@ess.eu>
Date: Mon, 20 Jun 2022 17:21:54 +0200
Subject: [PATCH] ICSHWI-9704: Fixing deployment logs to show failed deploymets
 correctly

---
 src/components/Job/JobTable.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/Job/JobTable.js b/src/components/Job/JobTable.js
index 6b3fde74..54ffacf1 100644
--- a/src/components/Job/JobTable.js
+++ b/src/components/Job/JobTable.js
@@ -54,7 +54,7 @@ function createTableRow(job, colorStyle) {
     network: noWrapText(job.host?.network ?? null),
     user: noWrapText(job.createdBy),
     start: noWrapText(formatJobDate(job.time)),
-    deploymentFailed: job.status === 'FAILED',
+    deploymentFailed: job.status === 'FAILED' || job.status === 'ERROR',
     jobType: job.type,
     iocId : job.iocId
   };
-- 
GitLab