Skip to content
Snippets Groups Projects
Verified Commit 15933150 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix save model when export button

parent 1f8a6ab1
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,7 @@ export class ExportComponent implements OnInit { ...@@ -311,7 +311,7 @@ export class ExportComponent implements OnInit {
downloadLink.setAttribute('download', "export_maarch_" + today + "." + this.exportModel.format.toLowerCase()); downloadLink.setAttribute('download', "export_maarch_" + today + "." + this.exportModel.format.toLowerCase());
document.body.appendChild(downloadLink); document.body.appendChild(downloadLink);
downloadLink.click(); downloadLink.click();
this.exportModelList[this.exportModel.format.toLowerCase()].data = this.exportModel.data;
this.loadingExport = false; this.loadingExport = false;
}, (err: any) => { }, (err: any) => {
this.notify.handleErrors(err); this.notify.handleErrors(err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment