From fff6018e57fdfdd90db2f3ab01d2224e6e8871f6 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 23 Aug 2022 09:44:15 -0400 Subject: [PATCH] CSR-108: rename function --- src/common-components/question-chain/question-chain.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common-components/question-chain/question-chain.vue b/src/common-components/question-chain/question-chain.vue index 560621c9c..dee5d1f32 100644 --- a/src/common-components/question-chain/question-chain.vue +++ b/src/common-components/question-chain/question-chain.vue @@ -90,13 +90,13 @@ export default { "buttonId": "Driver-Front-1-1|answer|DD11132|Yes" } */ - const isQuestionChainComplete = this.testReturnedAnswer(returnedAnswer.checkValue); + const isQuestionChainComplete = this.getQuestionChainAnswerIfComplete(returnedAnswer.checkValue); if (isQuestionChainComplete) { this.$emit("update:modelValue", isQuestionChainComplete); } }, - testReturnedAnswer(returnedAnswer) { // this method will return either a final answer or Boolean false + getQuestionChainAnswerIfComplete(returnedAnswer) { // this method will return either a final answer or Boolean false if (!returnedAnswer) { return false } // Example returnedAnswers: