fix(usAnnotation): Prevent error after JSON download (#5814)
removed dead code
This commit is contained in:
parent
f81a7543fc
commit
739e3239cf
@ -279,14 +279,6 @@ function commandsModule({
|
||||
downloadBlob(blob, {
|
||||
filename: `ultrasound_annotations_${new Date().toISOString().slice(0, 10)}.json`,
|
||||
});
|
||||
|
||||
// Append to the document, click to download, and remove
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
document.body.removeChild(a);
|
||||
|
||||
// Clean up by revoking the URL
|
||||
URL.revokeObjectURL(url);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user