Fix cond bug
This commit is contained in:
parent
a8046ebff8
commit
0175726696
@ -264,7 +264,7 @@ function VMDetailsTabGeneral(p: DetailsInnerProps): React.ReactElement {
|
|||||||
function VMDetailsTabStorage(p: DetailsInnerProps): React.ReactElement {
|
function VMDetailsTabStorage(p: DetailsInnerProps): React.ReactElement {
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={2}>
|
<Grid container spacing={2}>
|
||||||
{p.editable && p.vm.disks.length > 0 && (
|
{(p.editable || p.vm.disks.length > 0) && (
|
||||||
<EditSection title="Disks storage">
|
<EditSection title="Disks storage">
|
||||||
<VMDisksList {...p} />
|
<VMDisksList {...p} />
|
||||||
</EditSection>
|
</EditSection>
|
||||||
|
Loading…
Reference in New Issue
Block a user