Can convert QCow2 to raw
This commit is contained in:
		@@ -38,7 +38,11 @@ export function ConvertDiskImageDialog(p: {
 | 
			
		||||
    if (value === "QCow2") setFilename(`${p.image.file_name}.qcow2`);
 | 
			
		||||
    if (value === "CompressedQCow2")
 | 
			
		||||
      setFilename(`${p.image.file_name}.qcow2.gz`);
 | 
			
		||||
    if (value === "Raw") setFilename(`${p.image.file_name}.raw`);
 | 
			
		||||
    if (value === "Raw") {
 | 
			
		||||
      setFilename(`${p.image.file_name}.raw`);
 | 
			
		||||
      // Check sparse checkbox by default
 | 
			
		||||
      setFormat({ format: "Raw", is_sparse: true });
 | 
			
		||||
    }
 | 
			
		||||
    if (value === "CompressedRaw") setFilename(`${p.image.file_name}.raw.gz`);
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user