diff --git a/awx/ui_next/src/api/models/Jobs.js b/awx/ui_next/src/api/models/Jobs.js
index 60f08466dd..bd103c072a 100644
--- a/awx/ui_next/src/api/models/Jobs.js
+++ b/awx/ui_next/src/api/models/Jobs.js
@@ -15,7 +15,7 @@ class Jobs extends Base {
this.baseUrl = '/api/v2/jobs/';
}
- readDetail (id, type) {
+ readDetail(id, type) {
return this.http.get(`/api/v2${BASE_URLS[type]}${id}/`);
}
}
diff --git a/awx/ui_next/src/components/Chip/CredentialChip.jsx b/awx/ui_next/src/components/Chip/CredentialChip.jsx
index 3ecdefc729..1e806a0c01 100644
--- a/awx/ui_next/src/components/Chip/CredentialChip.jsx
+++ b/awx/ui_next/src/components/Chip/CredentialChip.jsx
@@ -6,7 +6,7 @@ import { t } from '@lingui/macro';
import Chip from './Chip';
import { Credential } from '../../types';
-function CredentialChip ({ credential, i18n, ...props }) {
+function CredentialChip({ credential, i18n, ...props }) {
let type;
if (credential.cloud) {
type = i18n._(t`Cloud`);
@@ -21,7 +21,7 @@ function CredentialChip ({ credential, i18n, ...props }) {
{type}:
{credential.name}
- )
+ );
}
CredentialChip.propTypes = {
credential: Credential.isRequired,
diff --git a/awx/ui_next/src/components/DetailList/Detail.jsx b/awx/ui_next/src/components/DetailList/Detail.jsx
index 761fd6aa94..ef13ac0aa6 100644
--- a/awx/ui_next/src/components/DetailList/Detail.jsx
+++ b/awx/ui_next/src/components/DetailList/Detail.jsx
@@ -26,7 +26,9 @@ const DetailValue = styled(({ fullWidth, ...props }) => (
`;
const Detail = ({ label, value, fullWidth }) => {
- if (!value && typeof value !== 'number') { return null; }
+ if (!value && typeof value !== 'number') {
+ return null;
+ }
return (
diff --git a/awx/ui_next/src/screens/Job/JobList/JobListItem.jsx b/awx/ui_next/src/screens/Job/JobList/JobListItem.jsx
index cf00612415..1a3ffe42eb 100644
--- a/awx/ui_next/src/screens/Job/JobList/JobListItem.jsx
+++ b/awx/ui_next/src/screens/Job/JobList/JobListItem.jsx
@@ -27,18 +27,19 @@ class JobListItem extends Component {
onChange={onSelect}
aria-labelledby={`check-action-${job.id}`}
/>
-
-
-
-
- {job.name}
-
-
- ,
- {toTitleCase(job.type)},
- {job.finished},
- ]}
+
+
+
+
+ {job.name}
+
+
+ ,
+ {toTitleCase(job.type)},
+ {job.finished},
+ ]}
/>
diff --git a/awx/ui_next/src/screens/Job/Jobs.jsx b/awx/ui_next/src/screens/Job/Jobs.jsx
index b9d330b478..8ddb383f61 100644
--- a/awx/ui_next/src/screens/Job/Jobs.jsx
+++ b/awx/ui_next/src/screens/Job/Jobs.jsx
@@ -27,7 +27,7 @@ class Jobs extends Component {
return;
}
- const type =JOB_TYPE_URLS[job.type];
+ const type = JOB_TYPE_URLS[job.type];
const breadcrumbConfig = {
'/jobs': i18n._(t`Jobs`),
[`/jobs/${type}/${job.id}`]: `${job.name}`,
diff --git a/awx/ui_next/src/util/yaml.js b/awx/ui_next/src/util/yaml.js
index 27b99d0b63..e4e6cd71b3 100644
--- a/awx/ui_next/src/util/yaml.js
+++ b/awx/ui_next/src/util/yaml.js
@@ -22,8 +22,10 @@ export function jsonToYaml(jsonString) {
return yaml.safeDump(value);
}
-export function isJson (jsonString) {
- if (typeof jsonString !== 'string') { return false; }
+export function isJson(jsonString) {
+ if (typeof jsonString !== 'string') {
+ return false;
+ }
let value;
try {
value = JSON.parse(jsonString);