mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03:30
Flattens Inventory File Structure Remove
This commit is contained in:
@@ -15,7 +15,7 @@ import CredentialTypes from '@screens/CredentialType';
|
|||||||
import Dashboard from '@screens/Dashboard';
|
import Dashboard from '@screens/Dashboard';
|
||||||
import Hosts from '@screens/Host';
|
import Hosts from '@screens/Host';
|
||||||
import InstanceGroups from '@screens/InstanceGroup';
|
import InstanceGroups from '@screens/InstanceGroup';
|
||||||
import Inventories from '@screens/Inventory';
|
import Inventory from '@screens/Inventory';
|
||||||
import InventoryScripts from '@screens/InventoryScript';
|
import InventoryScripts from '@screens/InventoryScript';
|
||||||
import { Jobs } from '@screens/Job';
|
import { Jobs } from '@screens/Job';
|
||||||
import Login from '@screens/Login';
|
import Login from '@screens/Login';
|
||||||
@@ -139,7 +139,7 @@ export function main(render) {
|
|||||||
{
|
{
|
||||||
title: i18n._(t`Inventories`),
|
title: i18n._(t`Inventories`),
|
||||||
path: '/inventories',
|
path: '/inventories',
|
||||||
component: Inventories,
|
component: Inventory,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: i18n._(t`Hosts`),
|
title: i18n._(t`Hosts`),
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ function InventoryGroupDetail({ i18n, history, match, inventoryGroup }) {
|
|||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
createdBy = i18n._(t`${formatDateString(inventoryGroup.created)} by`);
|
createdBy = formatDateString(inventoryGroup.created);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ function InventoryGroupDetail({ i18n, history, match, inventoryGroup }) {
|
|||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
modifiedBy = i18n._(t`${formatDateString(inventoryGroup.modified)} by`);
|
modifiedBy = formatDateString(inventoryGroup.modified);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3,9 +3,9 @@ import { withI18n } from '@lingui/react';
|
|||||||
|
|
||||||
import { Switch, Route, withRouter } from 'react-router-dom';
|
import { Switch, Route, withRouter } from 'react-router-dom';
|
||||||
|
|
||||||
import InventoryGroupAdd from './InventoryGroupAdd/InventoryGroupAdd';
|
import InventoryGroupAdd from '../InventoryGroupAdd/InventoryGroupAdd';
|
||||||
|
|
||||||
import InventoryGroup from './InventoryGroup/InventoryGroup';
|
import InventoryGroup from '../InventoryGroup/InventoryGroup';
|
||||||
import InventoryGroupsList from './InventoryGroupsList';
|
import InventoryGroupsList from './InventoryGroupsList';
|
||||||
|
|
||||||
function InventoryGroups({ setBreadcrumb, inventory, location, match }) {
|
function InventoryGroups({ setBreadcrumb, inventory, location, match }) {
|
||||||
|
|||||||
Reference in New Issue
Block a user