mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
5b35eb7946
commit
cd023c29e6
@ -125,7 +125,7 @@ const NicCard = memo(
|
||||
<div className={classes.actions}>{actions}</div>
|
||||
)}
|
||||
{!!ALIAS?.length && (
|
||||
<Stack direction="column" gap="1em" flexBasis="100%" my="0.5em">
|
||||
<Stack gap="1em" flexBasis="100%" my="0.5em">
|
||||
{ALIAS?.map((alias, aliasIdx) => (
|
||||
<NicCard
|
||||
key={alias.NIC_ID}
|
||||
|
@ -69,7 +69,7 @@ const VmNetworkTab = ({ tabProps: { actions } = {}, id }) => {
|
||||
<AttachAction vmId={id} currentNics={nics} hypervisor={hypervisor} />
|
||||
)}
|
||||
|
||||
<Stack direction="column" gap="1em" py="0.8em">
|
||||
<Stack gap="1em" py="0.8em">
|
||||
{nics.map((nic) => {
|
||||
const { IP, MAC, ADDRESS } = nic
|
||||
const key = IP ?? MAC ?? ADDRESS // address only exists form PCI nics
|
||||
|
@ -137,7 +137,7 @@ const VmSchedulingTab = ({ tabProps: { actions } = {}, id }) => {
|
||||
</Stack>
|
||||
)}
|
||||
|
||||
<Stack direction="column" gap="1em" py="0.8em">
|
||||
<Stack gap="1em" py="0.8em">
|
||||
{scheduling.map((schedule) => {
|
||||
const { ID, NAME } = schedule
|
||||
|
||||
|
@ -63,7 +63,7 @@ const VmSnapshotTab = ({ tabProps: { actions } = {}, id }) => {
|
||||
<CreateAction vmId={id} />
|
||||
)}
|
||||
|
||||
<Stack direction="column" gap="1em" py="0.8em">
|
||||
<Stack gap="1em" py="0.8em">
|
||||
{snapshots.map((snapshot) => (
|
||||
<SnapshotCard
|
||||
snapshot={snapshot}
|
||||
|
@ -78,7 +78,7 @@ const VmStorageTab = ({ tabProps: { actions } = {}, id }) => {
|
||||
<AttachAction vmId={id} hypervisor={hypervisor} />
|
||||
)}
|
||||
|
||||
<Stack direction="column" gap="1em" py="0.8em">
|
||||
<Stack gap="1em" py="0.8em">
|
||||
{disks.map((disk) => {
|
||||
const isImage = disk.IMAGE_ID !== undefined
|
||||
const imageName = getDiskName(disk)
|
||||
|
Loading…
x
Reference in New Issue
Block a user