diff --git a/src/iss-components/cart-dropdown/__snapshots__/cart-dropdown.spec.js.snap b/src/iss-components/cart-dropdown/__snapshots__/cart-dropdown.spec.js.snap
index ae4e42e9..a8925b2e 100644
--- a/src/iss-components/cart-dropdown/__snapshots__/cart-dropdown.spec.js.snap
+++ b/src/iss-components/cart-dropdown/__snapshots__/cart-dropdown.spec.js.snap
@@ -6,6 +6,8 @@ Object {
"deductible": null,
"glassToReplace": Array [],
"isExpanded": false,
+ "isITAC": false,
+ "isNoComp": false,
"isRepair": null,
"vapsInOrder": Array [],
"widget": Object {
diff --git a/src/iss-components/cart-dropdown/cart-dropdown.vue b/src/iss-components/cart-dropdown/cart-dropdown.vue
index a41683e5..b0cfd872 100644
--- a/src/iss-components/cart-dropdown/cart-dropdown.vue
+++ b/src/iss-components/cart-dropdown/cart-dropdown.vue
@@ -23,7 +23,7 @@
id="cart-deductible-or-base-price"
class="cart-item cart-gray">
{{ deductibleLabel }}
@@ -178,6 +178,8 @@ export default {
const { supportingItems, glassParts, otherParts, vaps } = useMainStore().lineItems;
return {
+ isNoComp: useMainStore().isNoComp,
+ isITAC: useMainStore().policy.isITAC,
isRepair,
glassToReplace: glassToReplace ?? [],
vapsInOrder: vaps ?? [],
@@ -205,15 +207,12 @@ export default {
baseServicePrice() {
return getPriceOfLineItems(this.baseServiceLineItems);
},
- showDeductibleLineItem() {
- return !useMainStore().isNoComp && !useMainStore().policy.isITAC;
- },
isUnverified() {
- return this.showDeductibleLineItem
+ return !this.isNoComp && !this.isITAC
&& (this.deductible == null || !useMainStore().isVerifiedCoverageStatus);
},
subTotal() {
- const basePrice = this.showDeductibleLineItem
+ const basePrice = !this.isNoComp && !this.isITAC
? this.deductible
: this.baseServicePrice;
return basePrice + this.packagePrice;
@@ -332,7 +331,7 @@ export default {
this.isExpanded = !this.isExpanded;
},
getDisplayed(amount) {
- return this.isUnverified && this.showDeductibleLineItem
+ return this.isUnverified && !this.isNoComp && !this.isITAC
? VERIFYING_COVERAGE
: formatAmountInDollars(amount);
},