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); p.onChange(p.attachedISOs);
} }
}} }}
options={[ options={p.isoList.map((i) => {
{ label: "None", value: undefined },
...p.isoList.map((i) => {
return { return {
label: `${i.filename} ${filesize(i.size)}`, label: `${i.filename} ${filesize(i.size)}`,
value: i.filename, value: i.filename,
}; };
}), })
]} }
/> />
</> </>
); );