Skip to content

Commit

Permalink
Fixed linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
YaaL committed Jul 28, 2020
1 parent b22c795 commit 0a8a6f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Exercises/Applications/Application.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1858,13 +1858,13 @@ export default {
},
);
let fileName = this.generateFilename;
const fileName = this.generateFilename;
pdf.save(`${fileName}.pdf`);
},
downloadAsDoc() {
let fileName = this.generateFilename;
let content = document.querySelector('#panel-pack-div').outerHTML;
const fileName = this.generateFilename;
const content = document.querySelector('#panel-pack-div').outerHTML;
const converted = htmlDocx.asBlob(content);
saveAs(converted, `${fileName}.docx`);
},
Expand Down

0 comments on commit 0a8a6f6

Please sign in to comment.