Skip to content

Commit

Permalink
chore: logs for debugging #400
Browse files Browse the repository at this point in the history
  • Loading branch information
bsilkyn committed May 3, 2024
1 parent 09518cd commit b59faa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/projects/DownloadCSV.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ const generateCSVAndDownload = async () => {
// construct for every group's student a csv line according to ufora grade csv standard
// and concatenate them all into one csv
csv_content.value = groups.value?.map(group => {
console.log(group);
return group.students?.map(student => {
console.log(student);
return `#${student.studentId},${student.last_name},${student.first_name},${student.email},${group.score},#`
}).join('\n');
}).join('\n');
Expand Down

0 comments on commit b59faa6

Please sign in to comment.