From 71c2552b13843520760a38fde4cd11d91c735b82 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Mon, 8 Jan 2024 08:51:46 +0100
Subject: [PATCH] automatically refresh results when remove a filter

---
 components/AutocompleteMeiliFacets.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/AutocompleteMeiliFacets.vue b/components/AutocompleteMeiliFacets.vue
index e0023f40..b4285d38 100644
--- a/components/AutocompleteMeiliFacets.vue
+++ b/components/AutocompleteMeiliFacets.vue
@@ -231,7 +231,7 @@ function deleteOneFilter(index: number) {
         toValFilterItems?.splice(index - 2, 3)
     }
 
-    // filterItems.value?.splice(index - 2, 2)
+    emitUpdateModelValue()
 }
 
 function isItemFilter(type: string | undefined) {
-- 
GitLab