From 0a8a6f6b5b62ed80483ae08e40d2965027751a81 Mon Sep 17 00:00:00 2001 From: YaaL Date: Tue, 28 Jul 2020 12:17:03 +0100 Subject: [PATCH] Fixed linting error --- src/views/Exercises/Applications/Application.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Exercises/Applications/Application.vue b/src/views/Exercises/Applications/Application.vue index 25b57dd2b..aadc52235 100644 --- a/src/views/Exercises/Applications/Application.vue +++ b/src/views/Exercises/Applications/Application.vue @@ -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`); },