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 } =
useDocumentFilterEntities(entityTypeId);
useEffect(() => {
return () => {
closePanel();
};
}, []);
//changes
const dynamicDocumentFilterDefaultValues = useMemo(() => {
@ -237,6 +243,6 @@ const DocumentFilterPanel = forwardRef(
</form>
</FormProvider>
);
});
});
export default DocumentFilterPanel;