From 09a4b85e22bacbe7c5ad8eaa884d5d6d726656ee Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Thu, 19 Feb 2026 16:22:58 -0500 Subject: [PATCH] Address some copilot comments --- src/helpers/cart-helper.js | 8 -------- src/layouts/payment-method/payment-method.vue | 2 +- src/router/router-constants/navigation-scenarios.js | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/helpers/cart-helper.js b/src/helpers/cart-helper.js index 61ed75ad..405dea57 100644 --- a/src/helpers/cart-helper.js +++ b/src/helpers/cart-helper.js @@ -156,12 +156,4 @@ export function getRecalibrationTotal(order) { }); return getPriceOfLineItems(recalibrationLineItems); -} - -/** - * Returns whether the order only contains a deductible line item and no other line items - * @param {object} order order object - * @returns {boolean} whether the order is deductible only - */ -export function isDeductibleOnly(order) { } \ No newline at end of file diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index f92c16b6..8a91884f 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -293,7 +293,7 @@ export default { header: wiperHeader, body: wiperBody, edit: wiperEdit - } + }; } }, watch: { diff --git a/src/router/router-constants/navigation-scenarios.js b/src/router/router-constants/navigation-scenarios.js index ae5157bf..70a73d41 100644 --- a/src/router/router-constants/navigation-scenarios.js +++ b/src/router/router-constants/navigation-scenarios.js @@ -111,7 +111,7 @@ const navigationScenarios = Object.freeze({ PAY_IN_ADVANCE_CREDIT_CARD_ERROR: 'PAY_IN_ADVANCE_CREDIT_CARD_ERROR', PAY_IN_ADVANCE_SUCCESS: 'PAY_IN_ADVANCE_SUCCESS', EDIT_SERVICE_LOCATION: 'EDIT_SERVICE_LOCATION', - EDIT_SCHEDULE: 'EDIT_SCHEDULE', + EDIT_SCHEDULE: 'EDIT_SCHEDULE', EDIT_WIPERS: 'EDIT_WIPERS', // Bailout