From 1a93ad0222d69706e0316b9169477e6baba905d1 Mon Sep 17 00:00:00 2001 From: alicia pritchett Date: Wed, 16 Feb 2022 08:01:49 -0500 Subject: [PATCH] Fixes #618- Workflow Spec File Download icon not responsive --- src/app/file-list/file-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/file-list/file-list.component.ts b/src/app/file-list/file-list.component.ts index a06ffdc..5637cdc 100644 --- a/src/app/file-list/file-list.component.ts +++ b/src/app/file-list/file-list.component.ts @@ -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); });