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) }, },