From b90fd0327d8859fa9c349989eed1e68492b853b2 Mon Sep 17 00:00:00 2001 From: Timo Date: Thu, 28 Jan 2021 11:06:05 +0200 Subject: [PATCH] fixed flat dld --- .../buttons/file-download-btn/file-download-btn.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/red-ui/src/app/components/buttons/file-download-btn/file-download-btn.component.ts b/apps/red-ui/src/app/components/buttons/file-download-btn/file-download-btn.component.ts index 13c68145c..308ad4c4f 100644 --- a/apps/red-ui/src/app/components/buttons/file-download-btn/file-download-btn.component.ts +++ b/apps/red-ui/src/app/components/buttons/file-download-btn/file-download-btn.component.ts @@ -91,6 +91,7 @@ export class FileDownloadBtnComponent { } downloadFlatRedactedFiles($event: MouseEvent) { + $event.preventDefault(); this._singleFileDownloadService .loadFile('FLAT_REDACTED', this.file) .subscribe((data) => saveAs(data, (this.file).filename));