From cddaf4daac9fc75fc251416d18333acd6c1077db Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 29 May 2024 12:31:41 +0200 Subject: [PATCH] perf: remove warnings --- src/components/common/VnInputTime.vue | 1 - src/composables/useArrayData.js | 2 -- .../Defaulter/CustomerDefaulterFilter.vue | 17 ++--------------- .../Department/Card/DepartmentDescriptor.vue | 2 -- src/pages/Route/Card/RouteForm.vue | 3 --- src/pages/Route/RouteTickets.vue | 3 --- src/pages/Worker/Card/WorkerCalendarItem.vue | 7 ------- src/pages/Zone/ZoneDeliveryPanel.vue | 1 - 8 files changed, 2 insertions(+), 34 deletions(-) diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue index 0b271dee7..4b436c136 100644 --- a/src/components/common/VnInputTime.vue +++ b/src/components/common/VnInputTime.vue @@ -2,7 +2,6 @@ import { computed, ref } from 'vue'; import { useI18n } from 'vue-i18n'; import isValidDate from 'filters/isValidDate'; -import VnInput from 'components/common/VnInput.vue'; const props = defineProps({ modelValue: { diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index ce9186b5d..e2465f5ba 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -112,8 +112,6 @@ export function useArrayData(key, userOptions) { return response; } - function isHasMoreData() {} - function destroy() { if (arrayDataStore.get(key)) { arrayDataStore.clear(key); diff --git a/src/pages/Customer/Defaulter/CustomerDefaulterFilter.vue b/src/pages/Customer/Defaulter/CustomerDefaulterFilter.vue index 59d92e6f7..d860ba352 100644 --- a/src/pages/Customer/Defaulter/CustomerDefaulterFilter.vue +++ b/src/pages/Customer/Defaulter/CustomerDefaulterFilter.vue @@ -16,19 +16,11 @@ const props = defineProps({ }, }); -const clients = ref(); -const salespersons = ref(); const countries = ref(); -const authors = ref();