diff --git a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
index cd7b2c4dd3..96c0794d35 100644
--- a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
+++ b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
import { Link, useHistory } from 'react-router-dom';
import { withI18n } from '@lingui/react';
import { t } from '@lingui/macro';
-import { Button, Chip } from '@patternfly/react-core';
+import { Button, Chip, Label } from '@patternfly/react-core';
import styled from 'styled-components';
import AlertModal from '../../../components/AlertModal';
@@ -121,6 +121,22 @@ function JobDetail({ job, i18n }) {
}
};
+ const isIsolatedInstanceGroup = item => {
+ if (item.is_isolated) {
+ return (
+ <>
+ {item.name}
+
+
+
+ >
+ );
+ }
+ return {item.name};
+ };
+
return (
@@ -211,11 +227,7 @@ function JobDetail({ job, i18n }) {
{instanceGroup && (
- {instanceGroup.name}
-
- }
+ value={isIsolatedInstanceGroup(instanceGroup)}
/>
)}
{typeof job.job_slice_number === 'number' &&