From d67346c020fa2001394f8a223f79ffaaa3819b34 Mon Sep 17 00:00:00 2001
From: Johanna Szepanski <johanna.szepanski@softhouse.se>
Date: Thu, 26 Sep 2024 16:12:06 +0200
Subject: [PATCH] replace the JobBadge with just job icon and job type text

---
 src/components/Job/JobDetails.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/Job/JobDetails.tsx b/src/components/Job/JobDetails.tsx
index 7fe72e63..f9e9f8c2 100644
--- a/src/components/Job/JobDetails.tsx
+++ b/src/components/Job/JobDetails.tsx
@@ -14,7 +14,7 @@ import {
   STEPPER_STATES,
   AccessControl
 } from "@ess-ics/ce-ui-common";
-import { JobBadge } from "./JobBadge";
+import { JobTypeIconText } from "./JobIcons";
 import { DeploymentJobOutput } from "../deployments/DeploymentJobOutput";
 import { JobGitRefIcon } from "./JobGitRefIcon";
 import { JobGitRefLink } from "./JobGitRefLink";
@@ -121,7 +121,9 @@ export const JobDetails = ({ operation, job }: JobDetailsProps) => {
   return (
     <Stack spacing={2}>
       <Stack>{<AlertBannerList alerts={alerts} />}</Stack>
-      <JobBadge operation={operation} />
+      <Box sx={{ paddingLeft: "46px" }}>
+        <JobTypeIconText type={operation.type} />
+      </Box>
       <KeyValueTable
         obj={getDeploymentDetails(operation)}
         variant="overline"
-- 
GitLab