Remove invalid ISO "none" option

This commit is contained in:
Pierre HUBERT 2024-01-07 22:13:33 +01:00
parent 134e27feb6
commit 80ecb3c5d2

View File

@ -68,15 +68,13 @@ export function VMSelectIsoInput(p: {
p.onChange(p.attachedISOs);
}
}}
options={[
{ label: "None", value: undefined },
...p.isoList.map((i) => {
options={p.isoList.map((i) => {
return {
label: `${i.filename} ${filesize(i.size)}`,
value: i.filename,
};
}),
]}
})
}
/>
</>
);