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