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)
|
(!this.isRecalibrationOnOrder || !this.shouldHideRecalibration)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
isRecalPriceRemove() {
|
||||||
|
return (
|
||||||
|
experimentMixin.methods
|
||||||
|
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
||||||
|
?.toLowerCase() === "true"
|
||||||
|
);
|
||||||
|
},
|
||||||
showRecalDisclaimer() {
|
showRecalDisclaimer() {
|
||||||
return this.isRecalibrationOnOrder && this.shouldHideRecalibration;
|
return this.isRecalibrationOnOrder && this.isRecalPriceRemove;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -826,6 +826,10 @@ export const getters = {
|
||||||
order = state.order;
|
order = state.order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (order.payment.isInsurance) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
experimentMixin.methods
|
experimentMixin.methods
|
||||||
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
.getSettingValue(experimentSettings.RECAL_PRICE_REMOVE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue