Merge pull request #3123 from Safelite/feature/CASH-2505

Feature/cash 2505
This commit is contained in:
matthew-sykes 2026-03-30 15:57:46 -04:00 committed by GitHub
commit 1a05482746
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -590,12 +590,6 @@ export default {
} }
// there are no active or inactive external parameters; use internal threshold // there are no active or inactive external parameters; use internal threshold
if (internalThreshold) thresholdToUse = internalThreshold; if (internalThreshold) thresholdToUse = internalThreshold;
vm.isInsuranceSelected = getIsInsuranceSelectedValue(
vm.availableLineItems,
thresholdToUse
);
baseMixin.methods.ResetExternalParamsAndHideModal();
} else { } else {
// user came from an external source, however, the externalParms may have been reset on service-zip, property-questions, etc... // user came from an external source, however, the externalParms may have been reset on service-zip, property-questions, etc...
if (getBoolFromString(store.getters.externalParameterQuote?.isInsurance)) { if (getBoolFromString(store.getters.externalParameterQuote?.isInsurance)) {
@ -613,8 +607,6 @@ export default {
) { ) {
await vm.skip(insuranceSelection, servicePackage); await vm.skip(insuranceSelection, servicePackage);
} }
baseMixin.methods.ResetExternalParamsAndHideModal();
} else { } else {
if (externalThreshold) thresholdToUse = externalThreshold; if (externalThreshold) thresholdToUse = externalThreshold;
@ -622,14 +614,16 @@ export default {
{ {
debugLog("quote.vue tab select NOT EXTERNAL"); debugLog("quote.vue tab select NOT EXTERNAL");
} }
}
}
if (vm.isInsuranceSelected == null) {
vm.isInsuranceSelected = getIsInsuranceSelectedValue( vm.isInsuranceSelected = getIsInsuranceSelectedValue(
vm.availableLineItems, vm.availableLineItems,
thresholdToUse thresholdToUse
); );
}
baseMixin.methods.ResetExternalParamsAndHideModal(); baseMixin.methods.ResetExternalParamsAndHideModal();
}
}
if (vm.skipToInsurance && !vm.showSaveProgressPopup) { if (vm.skipToInsurance && !vm.showSaveProgressPopup) {
// skip ahead only if no email popup. // skip ahead only if no email popup.