Skip to content

Commit

Permalink
Removed some unneeded tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ebanderson3 committed Nov 15, 2024
1 parent a1edc91 commit a547ac6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ class ViewAssessmentTasks extends Component {

const blob = new Blob([fileData], { type: 'csv' });
const url = URL.createObjectURL(blob);

const link = document.createElement("a");
link.download = this.state.downloadedAssessment + ".csv";
link.href = url;
link.setAttribute('download', 'export.csv');
link.click();

var assessmentName = this.state.downloadedAssessment;

const exportAssessmentTask = document.getElementById(this.state.exportButtonId[assessmentName])
Expand Down

0 comments on commit a547ac6

Please sign in to comment.