Fix cond bug

This commit is contained in:
Pierre HUBERT 2024-01-02 20:00:21 +01:00
parent a8046ebff8
commit 0175726696

View File

@ -264,7 +264,7 @@ function VMDetailsTabGeneral(p: DetailsInnerProps): React.ReactElement {
function VMDetailsTabStorage(p: DetailsInnerProps): React.ReactElement {
return (
<Grid container spacing={2}>
{p.editable && p.vm.disks.length > 0 && (
{(p.editable || p.vm.disks.length > 0) && (
<EditSection title="Disks storage">
<VMDisksList {...p} />
</EditSection>