Merge pull request #2104 from Safelite/CSR-2340-collapse-cart-on-load

CSR-2340 collapse cart on load
This commit is contained in:
bmauger 2024-11-12 15:31:33 -05:00 committed by GitHub
commit 219ce93c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,7 +195,7 @@ export default {
},
data() {
return {
isExpanded: true, // set default to true so cart is open on page load. This may be temporary.
isExpanded: this.shouldHideRecalibration,
currencyFormatter: new Intl.NumberFormat("en-US", {
style: "currency",
currency: "USD",
@ -1014,7 +1014,7 @@ export default {
return this.getCmsContent("SalesTaxTextWidget", "Text");
},
amountDueText() {
return this.getCmsContent("AmountDueTextWidget", "Text");
return this.getCmsContent("OrderDetailsTextWidget", "Text");
},
amountPaidText() {
return this.getCmsContent("AmountPaidTextWidget", "Text");