From cd8095d3b892a4bc01b187076396917e03e3456b Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 15 May 2024 09:39:15 -0300 Subject: [PATCH] Last changes --- src/composables/useArrayData.js | 3 ++- src/pages/Zone/Card/ZoneDescriptor.vue | 1 - src/pages/Zone/ZoneClosingTable.vue | 3 ++- src/pages/Zone/ZoneDeliveryCalendar.vue | 4 ---- src/pages/Zone/ZoneDeliveryDays.vue | 16 +++++++++++-- src/pages/Zone/ZoneDeliveryPanel.vue | 32 ++++++++++++++++++------- src/pages/Zone/locale/en.yml | 2 +- src/pages/Zone/locale/es.yml | 3 ++- 8 files changed, 44 insertions(+), 20 deletions(-) diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 525cf6e6b..fcaa40ebf 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -127,7 +127,8 @@ export function useArrayData(key, userOptions) { store.filter = {}; if (params) store.userParams = Object.assign({}, params); - await fetch({ append: false }); + const response = await fetch({ append: false }); + return response; } async function addFilter({ filter, params }) { diff --git a/src/pages/Zone/Card/ZoneDescriptor.vue b/src/pages/Zone/Card/ZoneDescriptor.vue index 8f0aa9e07..aee6174a3 100644 --- a/src/pages/Zone/Card/ZoneDescriptor.vue +++ b/src/pages/Zone/Card/ZoneDescriptor.vue @@ -73,7 +73,6 @@ const setData = (entity) => { -->