CSR-2383 fix collapsed cart on confirmation page.
This commit is contained in:
parent
14b371a262
commit
a74ae7d687
2 changed files with 0 additions and 5 deletions
|
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<div class="cart">
|
||||
Should Hide Recal {{ shouldHideRecalibration }} // isInsurnce {{ isInsurance }}
|
||||
<div class="px-0" v-if="isCartReadyToLoad">
|
||||
<div
|
||||
class="row vin-toggle flex align-items-center pt-4"
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ export default {
|
|||
name: "confirmation",
|
||||
async beforeRouteEnter(to, from, next) {
|
||||
const hasRecalPriceRemoveExperiment = await store.getters.shouldHideRecalibration;
|
||||
console.log("Has recal", hasRecalPriceRemoveExperiment);
|
||||
|
||||
await baseMixin.methods.dispatchStoreAction(storeActions.CREATE_SUBMITTED_ORDER); // This nulls the Store order
|
||||
|
||||
|
|
@ -161,11 +160,8 @@ export default {
|
|||
|
||||
const shouldHideRecalibration = () => {
|
||||
if (isNoComp || isItac) {
|
||||
console.log("is NoComp OR Itac...");
|
||||
return false;
|
||||
}
|
||||
console.log("hasRecalPriceRemoveExperiment: ", hasRecalPriceRemoveExperiment);
|
||||
console.log("isRecalibrationOnOrder: ", isRecalibrationOnOrder);
|
||||
|
||||
return hasRecalPriceRemoveExperiment && isRecalibrationOnOrder;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue