1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00
This commit is contained in:
Sergio Betanzos 2021-06-23 17:20:22 +02:00
parent 552d37da45
commit 82b4dd4439
No known key found for this signature in database
GPG Key ID: E3E704F097737136
3 changed files with 10 additions and 17 deletions

View File

@ -10,6 +10,7 @@ const useStyles = makeStyles(theme => ({
height: '100%'
},
separator: {
position: 'relative',
cursor: 'row-resize',
height: 8,
marginBlock: '1em',

View File

@ -169,8 +169,8 @@ const EnhancedTable = ({
)
})}
</div>
</Box>
<div style={{ display: 'flex', flexDirection: 'column', overflow: 'auto' }}>
{justOneSelected && renderDetail
? renderDetail(selectedFlatRows[0]?.original)

View File

@ -5,15 +5,7 @@ import { Redirect, Route, Switch, Link } from 'react-router-dom'
import { Container, Tabs, Tab, Box } from '@material-ui/core'
import {
ClustersTable,
DatastoresTable,
HostsTable,
ImagesTable,
MarketplaceAppsTable,
MarketplacesTable,
VmsTable
} from 'client/components/Tables'
import * as Tables from 'client/components/Tables'
import { PATH } from 'client/router/dev'
@ -56,13 +48,13 @@ const Newstone = () => {
<Box py={2} overflow='auto'>
<Switch>
<Route exact path={TABS.apps} component={MarketplaceAppsTable} />
<Route exact path={TABS.clusters} component={ClustersTable} />
<Route exact path={TABS.datastores} component={DatastoresTable} />
<Route exact path={TABS.hosts} component={HostsTable} />
<Route exact path={TABS.images} component={ImagesTable} />
<Route exact path={TABS.marketplaces} component={MarketplacesTable} />
<Route exact path={TABS.vms} component={VmsTable} />
<Route exact path={TABS.apps} component={Tables.MarketplaceAppsTable} />
<Route exact path={TABS.clusters} component={Tables.ClustersTable} />
<Route exact path={TABS.datastores} component={Tables.DatastoresTable} />
<Route exact path={TABS.hosts} component={Tables.HostsTable} />
<Route exact path={TABS.images} component={Tables.ImagesTable} />
<Route exact path={TABS.marketplaces} component={Tables.MarketplacesTable} />
<Route exact path={TABS.vms} component={Tables.VmsTable} />
<Route component={() => <Redirect to={TABS.vms} />} />
</Switch>