From 0ed0566395a8bbc593902a552bbff18ca55bb042 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 13 Sep 2022 15:17:59 -0400 Subject: [PATCH] CSR-803: remove unneeded property --- src/common-components/question-chain/question-chain.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common-components/question-chain/question-chain.vue b/src/common-components/question-chain/question-chain.vue index 3eacfac34..1f4f05ce8 100644 --- a/src/common-components/question-chain/question-chain.vue +++ b/src/common-components/question-chain/question-chain.vue @@ -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); }