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