From 1ac0a8596916c920f842516015a7baba5742f6d8 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 23 Jul 2024 15:09:42 +0200 Subject: [PATCH] updates --- src/components/ui/VnFilterPanel.vue | 4 ++-- src/pages/Order/Card/OrderCatalog.vue | 22 ++++++++++----------- src/pages/Order/Card/OrderCatalogFilter.vue | 12 +++++++++-- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index f79852a9d..2dce3228c 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -95,8 +95,8 @@ watch( ); watch( - () => arrayData.store.userParams, - (val) => setUserParams(val) + () => [store.userParams, store.userFilter], + ([userParams, userFilter]) => setUserParams({ ...userParams, filter: userFilter }) ); watch( diff --git a/src/pages/Order/Card/OrderCatalog.vue b/src/pages/Order/Card/OrderCatalog.vue index d1479e3c3..cb3e9a8eb 100644 --- a/src/pages/Order/Card/OrderCatalog.vue +++ b/src/pages/Order/Card/OrderCatalog.vue @@ -54,17 +54,17 @@ function extractValueTags(items) {