From f730c9d1b58fe806458215ec83ec1044c3b1c341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sun, 12 Jul 2020 10:41:10 +0200 Subject: [PATCH] Lint fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- src/components/Results/Submission.vue | 6 +++--- src/components/Results/Summary.vue | 6 +++--- src/views/Create.vue | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/Results/Submission.vue b/src/components/Results/Submission.vue index 903253e..aafc7a4 100644 --- a/src/components/Results/Submission.vue +++ b/src/components/Results/Submission.vue @@ -91,9 +91,9 @@ export default { const squashedAnswers = answers.map(answer => answer.text).join('; ') answeredQuestionsArray.push({ - 'id': question.id, - 'text': question.text, - 'squashedAnswers': squashedAnswers, + id: question.id, + text: question.text, + squashedAnswers, }) }) return answeredQuestionsArray diff --git a/src/components/Results/Summary.vue b/src/components/Results/Summary.vue index 6ba3573..a0fa9eb 100644 --- a/src/components/Results/Summary.vue +++ b/src/components/Results/Summary.vue @@ -109,9 +109,9 @@ export default { const optionsStatIndex = questionOptionsStats.findIndex(option => option.text === answer.text) if (optionsStatIndex < 0) { questionOptionsStats.push({ - 'text': answer.text, - 'count': 1, - 'percentage': 0, + text: answer.text, + count: 1, + percentage: 0, }) } else { questionOptionsStats[optionsStatIndex].count++ diff --git a/src/views/Create.vue b/src/views/Create.vue index c2287cd..1a44494 100644 --- a/src/views/Create.vue +++ b/src/views/Create.vue @@ -215,7 +215,7 @@ export default { }, // Update Window-Title on title change - 'form.title': function() { + 'form.title'() { SetWindowTitle(this.formTitle) }, },