From 7cc4d760dd8dc73ea9568a2e8add70e07ba3153d Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 27 Dec 2024 12:02:34 +0100 Subject: [PATCH] perf: remove unused variables --- src/components/CreateNewPostcodeForm.vue | 7 ------- src/pages/Order/Card/OrderCatalogItemDialog.vue | 2 +- src/pages/Ticket/Card/BasicData/TicketBasicDataForm.vue | 2 +- src/pages/Travel/TravelList.vue | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index c656fcb2f..26b79b1bc 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -55,13 +55,6 @@ async function setCountry(countryFk, data) { } // Province - -async function handleProvinces(data) { - provincesOptions.value = data; - if (postcodeFormData.countryFk) { - await fetchTowns(); - } -} async function setProvince(id, data) { if (data.provinceFk === id) return; const newProvince = provincesOptions.value.find((province) => province.id == id); diff --git a/src/pages/Order/Card/OrderCatalogItemDialog.vue b/src/pages/Order/Card/OrderCatalogItemDialog.vue index 0d55b7de1..163b036eb 100644 --- a/src/pages/Order/Card/OrderCatalogItemDialog.vue +++ b/src/pages/Order/Card/OrderCatalogItemDialog.vue @@ -1,6 +1,6 @@