mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Fixed Suggestions from Code Review
This commit is contained in:
@@ -36,10 +36,6 @@ const Badge = styled(PFBadge)`
|
|||||||
|
|
||||||
const ListGroup = styled.span`
|
const ListGroup = styled.span`
|
||||||
margin-left: 24px;
|
margin-left: 24px;
|
||||||
|
|
||||||
&:first-of-type {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function InventoryListItem({
|
function InventoryListItem({
|
||||||
@@ -110,7 +106,6 @@ function InventoryListItem({
|
|||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
</DataListCell>,
|
</DataListCell>,
|
||||||
|
|
||||||
<DataListCell key="kind">
|
<DataListCell key="kind">
|
||||||
{inventory.kind === 'smart'
|
{inventory.kind === 'smart'
|
||||||
? i18n._(t`Smart Inventory`)
|
? i18n._(t`Smart Inventory`)
|
||||||
@@ -136,7 +131,6 @@ function InventoryListItem({
|
|||||||
</Badge>
|
</Badge>
|
||||||
</ListGroup>
|
</ListGroup>
|
||||||
</DataListCell>,
|
</DataListCell>,
|
||||||
|
|
||||||
inventory.pending_deletion && (
|
inventory.pending_deletion && (
|
||||||
<DataListCell alignRight isFilled={false} key="pending-delete">
|
<DataListCell alignRight isFilled={false} key="pending-delete">
|
||||||
<Label color="red">{i18n._(t`Pending delete`)}</Label>
|
<Label color="red">{i18n._(t`Pending delete`)}</Label>
|
||||||
|
|||||||
Reference in New Issue
Block a user