CSR-2179: change method of setting expanded cart default

This commit is contained in:
Adam Caouette 2024-09-10 14:41:32 -04:00
parent 7671d8d410
commit e919e3ba5e

View file

@ -1,10 +1,9 @@
<template>
<div class="cart">
<div class="px-0">
<!-- set class to 'expaned' on line 7 so cart is open on page load. This may be temporary -->
<div
class="row vin-toggle flex align-items-center pt-4"
:class="[isExpanded ? '' : 'expanded']"
:class="[isExpanded ? 'expanded' : '']"
@click="toggleIsExpanded()">
<a
aria-label="expand cart"
@ -190,7 +189,7 @@ export default {
},
data() {
return {
isExpanded: false,
isExpanded: true, // set default to true so cart is open on page load. This may be temporary.
currencyFormatter: new Intl.NumberFormat("en-US", {
style: "currency",
currency: "USD",