Fixed Suggestions from Code Review

This commit is contained in:
Adrian Sorge
2020-10-05 17:49:21 +01:00
parent 70141f3d77
commit 7b13a42daa

View File

@@ -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>