Fixes #618- Workflow Spec File Download icon not responsive

This commit is contained in:
alicia pritchett 2022-02-16 08:01:49 -05:00
parent 57ecf81f6f
commit 1a93ad0222

View File

@ -88,7 +88,7 @@ export class FileListComponent implements OnInit, OnChanges {
}
downloadFile(fm: FileMeta) {
this.api.getFileData(fm.id).subscribe(response => {
this.api.getSpecFileData(this.workflowSpec, fm.name).subscribe(response => {
const blob = new Blob([response.body], {type: fm.content_type});
fileSaver.saveAs(blob, fm.name);
});