When document filter is now auto closed at we are go to next tab or component.

This commit is contained in:
Kartik Sharma 2025-11-07 12:56:20 +05:30 committed by pramod.mahajan
parent 096a4acfff
commit 523ef6775f

View File

@ -19,6 +19,12 @@ const DocumentFilterPanel = forwardRef(
const { data, isError, isLoading, error } = const { data, isError, isLoading, error } =
useDocumentFilterEntities(entityTypeId); useDocumentFilterEntities(entityTypeId);
useEffect(() => {
return () => {
closePanel();
};
}, []);
//changes //changes
const dynamicDocumentFilterDefaultValues = useMemo(() => { const dynamicDocumentFilterDefaultValues = useMemo(() => {