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) => {
-->
- {{ console.log('entity', entity) }}
diff --git a/src/pages/Zone/ZoneClosingTable.vue b/src/pages/Zone/ZoneClosingTable.vue
index ec8ad48c6..ce0c91af7 100644
--- a/src/pages/Zone/ZoneClosingTable.vue
+++ b/src/pages/Zone/ZoneClosingTable.vue
@@ -15,8 +15,9 @@ const { viewSummary } = useSummaryDialog();
defineProps({
rows: {
- type: Number,
+ type: Array,
required: true,
+ default: () => [],
},
});
diff --git a/src/pages/Zone/ZoneDeliveryCalendar.vue b/src/pages/Zone/ZoneDeliveryCalendar.vue
index 7403d86a3..74f4f0a04 100644
--- a/src/pages/Zone/ZoneDeliveryCalendar.vue
+++ b/src/pages/Zone/ZoneDeliveryCalendar.vue
@@ -20,10 +20,6 @@ const props = defineProps({
type: Number,
required: true,
},
- events: {
- type: Object,
- default: null,
- },
monthDate: {
type: Object,
default: null,
diff --git a/src/pages/Zone/ZoneDeliveryDays.vue b/src/pages/Zone/ZoneDeliveryDays.vue
index 3535eefec..872b62184 100644
--- a/src/pages/Zone/ZoneDeliveryDays.vue
+++ b/src/pages/Zone/ZoneDeliveryDays.vue
@@ -1,5 +1,5 @@
@@ -88,7 +102,7 @@ onMounted(async () => {
@on-fetch="(data) => (postcodesOptions = data)"
auto-load
/>
-
+