diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index 52049b0c9..2af4ba6ea 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -199,6 +199,7 @@ export default { shouldHideRecalibration: Boolean, isItac: Boolean, isNoComp: Boolean, + isExpandedOnLoad: Boolean, }, data() { return { @@ -217,7 +218,7 @@ export default { this.isExpanded = !this.isExpanded; }, updateIsExpandedWithDefault() { - this.isExpanded = this.shouldHideRecalibration; + this.isExpanded = this.isExpandedOnLoad; }, getVapsPrice(packageName) { const vapsItems = this.getVapsCartItemsForSelectedPackage(packageName); @@ -331,9 +332,8 @@ export default { }, computed: { isCartReadyToLoad() { - var myReturn = this.shouldHideRecalibration !== null; this.updateIsExpandedWithDefault(); - return myReturn; + return this.isExpandedOnLoad !== null; }, lineItems: { get: function () { diff --git a/src/layouts/confirmation/confirmation.vue b/src/layouts/confirmation/confirmation.vue index 09b666920..d2dde2e05 100644 --- a/src/layouts/confirmation/confirmation.vue +++ b/src/layouts/confirmation/confirmation.vue @@ -60,6 +60,7 @@ :insuranceCompanyName="insuranceCompanyName" :showInsuranceCoverageAs="showInsuranceCoverageAs" :shouldHideRecalibration="shouldHideRecalibration" + :isExpandedOnLoad="false" :isItac="isItac" :isNoComp="isNoComp" /> diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index f4972a054..d8d4518f1 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -31,6 +31,7 @@ :insuranceCompanyName="insuranceCompanyName" :showInsuranceCoverageAs="showInsuranceCoverageAs" :shouldHideRecalibration="shouldHideRecalibration" + :isExpandedOnLoad="false" :isItac="isItac" :isNoComp="isNoComp" /> diff --git a/src/layouts/payment/payment.vue b/src/layouts/payment/payment.vue index 75ad840e0..7103091e6 100644 --- a/src/layouts/payment/payment.vue +++ b/src/layouts/payment/payment.vue @@ -59,7 +59,8 @@ :insuranceCompanyName="insuranceCompanyName" :showInsuranceCoverageAs="showInsuranceCoverageAs" :isItac="isItac" - :isNocomp="isNocomp" /> + :isNocomp="isNocomp" + :isExpandedOnLoad="true" />