Merge pull request #2866 from Safelite/feature/CASH-1550

CASH-1550: Allow Afterpay breakout on recal vehicles
This commit is contained in:
Chris 2025-09-26 09:28:28 -04:00 committed by GitHub
commit b9e145150e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -836,7 +836,7 @@ export default {
isAfterpayBreakoutDisplay() { isAfterpayBreakoutDisplay() {
return ( return (
this.showInsuranceCoverageAs !== coverageStatus.PENDING && this.showInsuranceCoverageAs !== coverageStatus.PENDING &&
(!this.isRecalPriceRemove || !this.isRecalibrationOnOrder) && !this.isRecalPriceRemove &&
this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true") this.hasSettingEqualTo(experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, "true")
); );
}, },

View file

@ -246,7 +246,7 @@ export default {
}, },
isAfterpayBreakoutDisplay() { isAfterpayBreakoutDisplay() {
return ( return (
(!this.shouldHideRecalibration || !this.isRecalibrationOnOrder) && !this.shouldHideRecalibration &&
experimentMixin.methods.hasSettingEqualTo( experimentMixin.methods.hasSettingEqualTo(
experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY, experimentSettings.DISPLAY_AFTERPAY_BREAKOUT_DISPLAY,
"true" "true"