Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
7c43e03b31
commit
f730c9d1b5
|
@ -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)
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue