CSR-803: remove unneeded property
This commit is contained in:
parent
325a0e24c3
commit
0ed0566395
1 changed files with 0 additions and 3 deletions
|
|
@ -41,12 +41,10 @@ export default {
|
|||
await useValidateForm(); // do a test validation check, without triggering full validation
|
||||
|
||||
this.questionData.map((q, i) => {
|
||||
let answerPair = [];
|
||||
const question = {
|
||||
questionText: q.questionText,
|
||||
questionSequence: q.questionSequence,
|
||||
answers: q.answers.map((a) => {
|
||||
answerPair.push(a.nextQuestionSequence ? a.nextQuestionSequence : a.answerResult);
|
||||
return {
|
||||
Text: a.answerText,
|
||||
// Name will either be nextQuestionSequence or answerResult
|
||||
|
|
@ -65,7 +63,6 @@ export default {
|
|||
}),
|
||||
answerSelected: q.answerSelected || "",
|
||||
};
|
||||
question.answerPair = answerPair;
|
||||
if (!q.suppressQuestion) {
|
||||
this.questions.push(question);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue