CSR-108: rename function
This commit is contained in:
parent
71fe6039d3
commit
fff6018e57
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue