diff --git a/src/iss-components/cart-dropdown/cart-dropdown.vue b/src/iss-components/cart-dropdown/cart-dropdown.vue index 2013d0af..654be120 100644 --- a/src/iss-components/cart-dropdown/cart-dropdown.vue +++ b/src/iss-components/cart-dropdown/cart-dropdown.vue @@ -93,7 +93,7 @@ linkType="text" :text="item?.name ?? ''" href="javascript:void(0)" - @clickEvent="openModal(recyclingModalCmsWidgetName)" /> + @clickEvent="openModal(RECYCLING_MODAL_REF_NAME)" /> {{ item?.name ?? '' }} {{ formatAmountInDollars(item?.subTotal ?? 0) }} @@ -146,7 +146,7 @@ @@ -178,6 +178,7 @@ import { import { getPriceOfLineItems, getTaxOfLineItems } from '@/helpers/price-calculator'; const VERIFYING_COVERAGE = 'Verifying coverage'; +const RECYCLING_MODAL_REF_NAME = "RecycleModal"; export default { name: 'cart-dropdown', @@ -209,7 +210,8 @@ export default { servicePackage: 'ServicePackageTitle', vapsItemDescriptions: 'VapsItemDescriptions' }, - cartItemType + cartItemType, + RECYCLING_MODAL_REF_NAME }; }, computed: { @@ -467,6 +469,8 @@ export default {