Skip to content
Snippets Groups Projects
Unverified Commit f730c9d1 authored by John Molakvoæ (skjnldsv)'s avatar John Molakvoæ (skjnldsv)
Browse files
parent 7c43e03b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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++
......
......@@ -215,7 +215,7 @@ export default {
},
// Update Window-Title on title change
'form.title': function() {
'form.title'() {
SetWindowTitle(this.formTitle)
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment