Added allowItemRemoval prop to cart 2

This commit is contained in:
Leah Schumann 2023-11-07 06:36:04 -05:00
parent 45c9279333
commit 4cc415af6d

View file

@ -24,6 +24,7 @@
:class="[this.packageCartItems ? 'vaps' : '']">
<span>{{ cartItem.name }}</span>
<textLink
v-if="allowItemRemoval"
ref="removeLink"
linkType="text"
:text="removeLinkText"
@ -39,6 +40,7 @@
:key="i">
<span>{{ cartItem.name }}</span>
<textLink
v-if="allowItemRemoval"
ref="removeLink"
linkType="text"
:text="removeLinkText"
@ -64,6 +66,7 @@
<div v-if="premiumAppointmentDiscountCartItem">
<span>{{ premiumAppointmentDiscountCartItem.name }}</span>
<textLink
v-if="allowItemRemoval"
ref="removeLink"
linkType="text"
:text="removeLinkText"
@ -122,6 +125,7 @@ export default {
damage: Object,
servicePackageOptionsCmsName: String,
availableLineItems: Object,
allowItemRemoval: Boolean,
},
data() {
return {