From 76a413a05d878b68098a18f42b2ada08490e40f6 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 18 Jun 2024 09:05:05 -0400 Subject: [PATCH] Not in love with this. this new gitkraken ui update is terrible. --- src/iss-components/cart-dropdown/cart-dropdown.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iss-components/cart-dropdown/cart-dropdown.vue b/src/iss-components/cart-dropdown/cart-dropdown.vue index d99747a4..66d3cbf9 100644 --- a/src/iss-components/cart-dropdown/cart-dropdown.vue +++ b/src/iss-components/cart-dropdown/cart-dropdown.vue @@ -255,12 +255,13 @@ export default { return !this.showAsPaid ? 0 : this.total; }, availableLineItems() { + const vapsToUse = this.availableVaps ?? this.lineItems.vaps; const { supportingItems, glassParts, otherParts, feeItems } = this.lineItems; const result = [ ...(supportingItems ?? []), ...(glassParts ?? []), ...(otherParts ?? []), - ...(this.availableVaps ?? []), + ...(vapsToUse ?? []), ...(feeItems ?? []) ]; return result;