From 58d029c5bb622ba8c0681448ffa721f76dab9c68 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 12 Jul 2024 13:03:49 +0200 Subject: [PATCH 1/2] fix(vnTable_order): default value --- src/composables/useArrayData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 3563e0dbd..8eaf72a06 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -175,7 +175,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { async function addOrder(field, direction = 'ASC') { const newOrder = field + ' ' + direction; - let order = store.order ?? []; + let order = store.order || []; if (typeof order == 'string') order = [order]; let index = order.findIndex((o) => o.split(' ')[0] === field); From 9494a30ddd1474c91a89044e690e7b52e0ade382 Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 12 Jul 2024 13:59:03 +0200 Subject: [PATCH 2/2] feat: refs #7704 Added min quantity label in catalog --- src/components/ui/CatalogItem.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/ui/CatalogItem.vue b/src/components/ui/CatalogItem.vue index 2b4724e35..5c5d71018 100644 --- a/src/components/ui/CatalogItem.vue +++ b/src/components/ui/CatalogItem.vue @@ -52,6 +52,10 @@ const dialog = ref(null); :value="item?.[`value${index + 4}`]" /> +
+ + {{ item.minQuantity }} +