change includes to ===
This commit is contained in:
parent
4d1d3844fd
commit
e618b26624
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ export const useMainStore = defineStore({
|
|||
getFinalDeductible() {
|
||||
const endorsementAnswersForPayload = [];
|
||||
const endorsementAnswers = this.order.policy.endorsementQuestionAnswers;
|
||||
if (endorsementAnswers && endorsementAnswers[0]?.selectedAnswer?.includes('Yes')) {
|
||||
if (endorsementAnswers && endorsementAnswers[0]?.selectedAnswer === 'Yes') {
|
||||
endorsementAnswersForPayload.push(this.order.policy.endorsementQuestionAnswers[0].endorsement);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue