diff --git a/src/fireedge/src/client/containers/Dashboard/Sunstone/index.js b/src/fireedge/src/client/containers/Dashboard/Sunstone/index.js index 2e515f5b5c..083acd4cd7 100644 --- a/src/fireedge/src/client/containers/Dashboard/Sunstone/index.js +++ b/src/fireedge/src/client/containers/Dashboard/Sunstone/index.js @@ -16,7 +16,7 @@ import { memo, useMemo, ReactElement } from 'react' import PropTypes from 'prop-types' import { useHistory } from 'react-router-dom' -import { Container, Box, CircularProgress, Grid } from '@mui/material' +import { Box, CircularProgress, Grid } from '@mui/material' import { ModernTv as VmsIcons, List as TemplatesIcon, @@ -60,42 +60,41 @@ function SunstoneDashboard() { }, })} > - - - goTo(PATH.INSTANCE.VMS.LIST))} - /> - goTo(PATH.TEMPLATE.VMS.LIST))} - /> - goTo(PATH.STORAGE.IMAGES.LIST))} - /> - goTo(PATH.NETWORK.VNETS.LIST))} - /> - - + + goTo(PATH.INSTANCE.VMS.LIST))} + /> + goTo(PATH.TEMPLATE.VMS.LIST))} + /> + goTo(PATH.STORAGE.IMAGES.LIST))} + /> + goTo(PATH.NETWORK.VNETS.LIST))} + /> + + ) } diff --git a/src/fireedge/src/client/containers/VirtualMachines/index.js b/src/fireedge/src/client/containers/VirtualMachines/index.js index 0263881a45..f6b171d847 100644 --- a/src/fireedge/src/client/containers/VirtualMachines/index.js +++ b/src/fireedge/src/client/containers/VirtualMachines/index.js @@ -15,7 +15,7 @@ * ------------------------------------------------------------------------- */ /* eslint-disable jsdoc/require-jsdoc */ import { useState } from 'react' -import { Container, Typography, Stack, Chip } from '@mui/material' +import { Typography, Stack, Chip } from '@mui/material' import { VmsTable } from 'client/components/Tables' import VmActions from 'client/components/Tables/Vms/actions' @@ -33,41 +33,35 @@ function VirtualMachines() { onSelectedRowsChange={onSelectedRowsChange} globalActions={actions} /> - - {selectedRows?.length > 0 && ( - - {selectedRows?.length === 1 ? ( - <> - - {`#${selectedRows[0]?.original.ID} | ${selectedRows[0]?.original.NAME}`} - - - - ) : ( - - ( - toggleRowSelected(false)} - /> - ) - )} - /> - - )} - - )} - + {selectedRows?.length > 0 && ( + + {selectedRows?.length === 1 ? ( + <> + + {`#${selectedRows[0]?.original.ID} | ${selectedRows[0]?.original.NAME}`} + + + + ) : ( + + ( + toggleRowSelected(false)} + /> + ) + )} + /> + + )} + + )} + ) } diff --git a/src/fireedge/src/client/containers/VmTemplates/index.js b/src/fireedge/src/client/containers/VmTemplates/index.js index 26df16c49e..609863b6d2 100644 --- a/src/fireedge/src/client/containers/VmTemplates/index.js +++ b/src/fireedge/src/client/containers/VmTemplates/index.js @@ -15,7 +15,7 @@ * ------------------------------------------------------------------------- */ /* eslint-disable jsdoc/require-jsdoc */ import { useState } from 'react' -import { Container, Typography, Stack, Chip } from '@mui/material' +import { Typography, Stack, Chip } from '@mui/material' import { VmTemplatesTable } from 'client/components/Tables' import VmTemplateActions from 'client/components/Tables/VmTemplates/actions' @@ -33,41 +33,35 @@ function VmTemplates() { onSelectedRowsChange={onSelectedRowsChange} globalActions={actions} /> - - {selectedRows?.length > 0 && ( - - {selectedRows?.length === 1 ? ( - <> - - {`#${selectedRows[0]?.original.ID} | ${selectedRows[0]?.original.NAME}`} - - - - ) : ( - - ( - toggleRowSelected(false)} - /> - ) - )} - /> - - )} - - )} - + {selectedRows?.length > 0 && ( + + {selectedRows?.length === 1 ? ( + <> + + {`#${selectedRows[0]?.original.ID} | ${selectedRows[0]?.original.NAME}`} + + + + ) : ( + + ( + toggleRowSelected(false)} + /> + ) + )} + /> + + )} + + )} + ) }