mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
Fixes Breaedcrumb
This commit is contained in:
@@ -2,7 +2,7 @@ import React, { Component, Fragment } from 'react';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
import { withI18n } from '@lingui/react';
|
||||
import { t } from '@lingui/macro';
|
||||
import { Card, PageSection } from '@patternfly/react-core';
|
||||
import { Card } from '@patternfly/react-core';
|
||||
|
||||
import { HostsAPI } from '@api';
|
||||
import AlertModal from '@components/AlertModal';
|
||||
@@ -180,7 +180,6 @@ class HostsList extends Component {
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<PageSection>
|
||||
<Card>
|
||||
<PaginatedDataList
|
||||
contentError={contentError}
|
||||
@@ -249,7 +248,6 @@ class HostsList extends Component {
|
||||
}
|
||||
/>
|
||||
</Card>
|
||||
</PageSection>
|
||||
{toggleError && !toggleLoading && (
|
||||
<AlertModal
|
||||
variant="danger"
|
||||
|
||||
@@ -61,6 +61,9 @@ class Inventories extends Component {
|
||||
t`Sources`
|
||||
),
|
||||
|
||||
[`/inventories/${inventoryKind}/${inventory.id}/hosts/add`]: i18n._(
|
||||
t`Create New Host`
|
||||
),
|
||||
[`/inventories/${inventoryKind}/${inventory.id}/hosts/${nestedResource &&
|
||||
nestedResource.id}/edit`]: i18n._(t`Edit Details`),
|
||||
[`/inventories/${inventoryKind}/${inventory.id}/hosts/${nestedResource &&
|
||||
|
||||
Reference in New Issue
Block a user