When document filter is now auto closed at we are go to next tab or component.
This commit is contained in:
parent
096a4acfff
commit
523ef6775f
@ -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(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user