From 4794ad19d6885c46516901a5137e81f46366067d Mon Sep 17 00:00:00 2001 From: bsilkyn Date: Sun, 5 May 2024 21:45:13 +0200 Subject: [PATCH] chore: add proper extension to grades csv file #400 --- frontend/src/components/projects/DownloadCSV.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/projects/DownloadCSV.vue b/frontend/src/components/projects/DownloadCSV.vue index 2220f160..508ac7a5 100644 --- a/frontend/src/components/projects/DownloadCSV.vue +++ b/frontend/src/components/projects/DownloadCSV.vue @@ -51,7 +51,7 @@ const generateCSVAndDownload = async (): Promise => { // create an anchor element for downloading the file const a = document.createElement('a'); a.href = url; - a.download = (props.projectName ?? props.projectId) + '.scores'; + a.download = props.projectName + '.csv'; // click anchor element a.click();