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() { data() {
return { 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", { currencyFormatter: new Intl.NumberFormat("en-US", {
style: "currency", style: "currency",
currency: "USD", currency: "USD",
@ -1014,7 +1014,7 @@ export default {
return this.getCmsContent("SalesTaxTextWidget", "Text"); return this.getCmsContent("SalesTaxTextWidget", "Text");
}, },
amountDueText() { amountDueText() {
return this.getCmsContent("AmountDueTextWidget", "Text"); return this.getCmsContent("OrderDetailsTextWidget", "Text");
}, },
amountPaidText() { amountPaidText() {
return this.getCmsContent("AmountPaidTextWidget", "Text"); return this.getCmsContent("AmountPaidTextWidget", "Text");