mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
used lint
This commit is contained in:
parent
8301254f57
commit
64018a71bb
@ -6,7 +6,7 @@ import { formatDateString } from '@util/dates';
|
||||
import Detail from './Detail';
|
||||
import { SummaryFieldUser } from '../../types';
|
||||
|
||||
function UserDateDetail({ label, date, user, dataCy = null}) {
|
||||
function UserDateDetail({ label, date, user, dataCy = null }) {
|
||||
const dateStr = formatDateString(date);
|
||||
const username = user ? user.username : '';
|
||||
return (
|
||||
|
||||
@ -79,12 +79,12 @@ function HostDetail({ host, i18n, onUpdateHost }) {
|
||||
css="padding-bottom: 40px"
|
||||
/>
|
||||
<DetailList gutter="sm">
|
||||
<Detail label={i18n._(t`Name`)} value={name} dataCy="host-name"/>
|
||||
<Detail label={i18n._(t`Name`)} value={name} dataCy="host-name" />
|
||||
<Detail
|
||||
value={<Sparkline jobs={recentPlaybookJobs} />}
|
||||
label={i18n._(t`Activity`)}
|
||||
/>
|
||||
<Detail label={i18n._(t`Description`)} value={description}/>
|
||||
<Detail label={i18n._(t`Description`)} value={description} />
|
||||
{inventory && (
|
||||
<Detail
|
||||
label={i18n._(t`Inventory`)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user