From 7216b90a3eddbf3ffa2f65c579b14315fdd5edea Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 9 May 2024 15:13:45 -0300 Subject: [PATCH] Fix filter panel bug --- src/components/ui/VnFilterPanel.vue | 2 +- src/pages/Zone/ZoneFilterPanel.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index eb0bbbe66..dac028965 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -147,7 +147,7 @@ const customTags = computed(() => async function remove(key) { userParams.value[key] = null; - await search(); + await arrayData.applyFilter({ params: userParams.value }); emit('remove', key); } diff --git a/src/pages/Zone/ZoneFilterPanel.vue b/src/pages/Zone/ZoneFilterPanel.vue index 32026bd5b..c84355eb0 100644 --- a/src/pages/Zone/ZoneFilterPanel.vue +++ b/src/pages/Zone/ZoneFilterPanel.vue @@ -23,7 +23,11 @@ const agencies = ref([]);