CSR-2087
updating IsInsurance parameter
This commit is contained in:
parent
459682d8a0
commit
ea16e6da30
1 changed files with 3 additions and 2 deletions
|
|
@ -124,7 +124,8 @@ const routes = [
|
|||
leadGenIsInsurance &&
|
||||
(leadGenDamage.toUpperCase() == "WINDSHIELDREPAIR" ||
|
||||
leadGenVinSelection?.length > 0) &&
|
||||
(leadGenIsInsurance == "false" || leadGenServicePackage?.length > 0) &&
|
||||
(leadGenIsInsurance?.toUpperCase() == "FALSE" ||
|
||||
leadGenServicePackage?.length > 0) &&
|
||||
(leadGenDamage.toUpperCase() != "WINDSHIELDREPAIR" ||
|
||||
leadGenNumberOfChips?.length > 0)
|
||||
) {
|
||||
|
|
@ -149,7 +150,7 @@ const routes = [
|
|||
storeMutations.UPDATE_LEAD_GEN_EMAIL_ADDRESS,
|
||||
leadGenEmail
|
||||
);
|
||||
if (leadGenIsInsurance == "true") {
|
||||
if (leadGenIsInsurance?.toUpperCase() == "TRUE") {
|
||||
store.commit(storeMutations.UPDATE_LEAD_GEN_IS_INSURANCE, true);
|
||||
store.commit(
|
||||
storeMutations.UPDATE_LEAD_GEN_SERVICE_PACKAGE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue