From 9676d457108d9def679e70b478a6dfd2b7305bed Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Fri, 12 Sep 2025 17:16:34 +0530 Subject: [PATCH] When the clear button hit api for full response. --- src/pages/Directory/ContactFilterPanel.jsx | 5 +++-- src/pages/Directory/NoteFilterPanel.jsx | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/Directory/ContactFilterPanel.jsx b/src/pages/Directory/ContactFilterPanel.jsx index c6556914..25f833db 100644 --- a/src/pages/Directory/ContactFilterPanel.jsx +++ b/src/pages/Directory/ContactFilterPanel.jsx @@ -30,7 +30,8 @@ const ContactFilterPanel = ({ onApply, clearFilter }) => { }; const handleClose = () => { - reset(defaultContactFilter); + reset(defaultContactFilter); + onApply(defaultContactFilter); closePanel(); }; @@ -59,7 +60,7 @@ const ContactFilterPanel = ({ onApply, clearFilter }) => {