Remove invalid ISO "none" option
This commit is contained in:
parent
134e27feb6
commit
80ecb3c5d2
@ -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,
|
||||||
};
|
};
|
||||||
}),
|
})
|
||||||
]}
|
}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user