Skip to content
Snippets Groups Projects
Commit 465e7072 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Add session name and shortId to filename of comment export

parent a6abbcf0
No related merge requests found
......@@ -129,7 +129,7 @@ export class CommentSettingsComponent implements OnInit {
csv = keyFields + valueFields;
const myBlob = new Blob([csv], { type: 'text/csv' });
const link = document.createElement('a');
const fileName = 'comments_' + date + '.csv';
const fileName = this.editRoom.name + '_' + this.editRoom.shortId + '_' + date + '.csv';
link.setAttribute('download', fileName);
link.href = window.URL.createObjectURL(myBlob);
link.click();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment