Merge pull request #2114 from Safelite/Feature/Digital/CSR-2371
CSR-2371
This commit is contained in:
commit
7bdbdbf39a
2 changed files with 12 additions and 1 deletions
|
|
@ -436,8 +436,15 @@ export default {
|
|||
(!this.isRecalibrationOnOrder || !this.shouldHideRecalibration)
|
||||
);
|
||||
},
|
||||
isRecalPriceRemove() {
|
||||
return (
|
||||
experimentMixin.methods
|
||||
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
||||
?.toLowerCase() === "true"
|
||||
);
|
||||
},
|
||||
showRecalDisclaimer() {
|
||||
return this.isRecalibrationOnOrder && this.shouldHideRecalibration;
|
||||
return this.isRecalibrationOnOrder && this.isRecalPriceRemove;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -826,6 +826,10 @@ export const getters = {
|
|||
order = state.order;
|
||||
}
|
||||
|
||||
if (order.payment.isInsurance) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (
|
||||
experimentMixin.methods
|
||||
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue