mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Flattens Inventory File Structure Remove
This commit is contained in:
parent
1942be7dc3
commit
ef5ce0b082
@ -15,7 +15,7 @@ import CredentialTypes from '@screens/CredentialType';
|
||||
import Dashboard from '@screens/Dashboard';
|
||||
import Hosts from '@screens/Host';
|
||||
import InstanceGroups from '@screens/InstanceGroup';
|
||||
import Inventories from '@screens/Inventory';
|
||||
import Inventory from '@screens/Inventory';
|
||||
import InventoryScripts from '@screens/InventoryScript';
|
||||
import { Jobs } from '@screens/Job';
|
||||
import Login from '@screens/Login';
|
||||
@ -139,7 +139,7 @@ export function main(render) {
|
||||
{
|
||||
title: i18n._(t`Inventories`),
|
||||
path: '/inventories',
|
||||
component: Inventories,
|
||||
component: Inventory,
|
||||
},
|
||||
{
|
||||
title: i18n._(t`Hosts`),
|
||||
|
||||
@ -57,7 +57,7 @@ function InventoryGroupDetail({ i18n, history, match, inventoryGroup }) {
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
createdBy = i18n._(t`${formatDateString(inventoryGroup.created)} by`);
|
||||
createdBy = formatDateString(inventoryGroup.created);
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +71,7 @@ function InventoryGroupDetail({ i18n, history, match, inventoryGroup }) {
|
||||
</span>
|
||||
);
|
||||
} 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 InventoryGroupAdd from './InventoryGroupAdd/InventoryGroupAdd';
|
||||
import InventoryGroupAdd from '../InventoryGroupAdd/InventoryGroupAdd';
|
||||
|
||||
import InventoryGroup from './InventoryGroup/InventoryGroup';
|
||||
import InventoryGroup from '../InventoryGroup/InventoryGroup';
|
||||
import InventoryGroupsList from './InventoryGroupsList';
|
||||
|
||||
function InventoryGroups({ setBreadcrumb, inventory, location, match }) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user