Flattens Inventory File Structure Remove

This commit is contained in:
Alex Corey
2019-12-12 15:42:36 -05:00
parent 1942be7dc3
commit ef5ce0b082
17 changed files with 6 additions and 6 deletions

View File

@@ -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`),

View File

@@ -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);
} }
} }

View File

@@ -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 }) {