fix: linked records redirection (#4312)

Closes: #4093 
---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Muralidhar
2024-04-04 14:31:33 +05:30
committed by GitHub
parent f58d855097
commit ff0db8d716
4 changed files with 19 additions and 4 deletions

View File

@ -59,7 +59,9 @@ export const useViewFromQueryParams = () => {
[queryParamsValidation],
);
const hasFiltersQueryParams = filterQueryParams;
const hasFiltersQueryParams =
isDefined(filterQueryParams) &&
Object.entries(filterQueryParams).length > 0;
const getFiltersFromQueryParams = useRecoilCallback(
({ snapshot }) =>