From fca0fb6a04623a2293fb3ff19fa7eea9a6484ea6 Mon Sep 17 00:00:00 2001 From: Lily Kuang Date: Mon, 30 Nov 2020 13:49:58 -0800 Subject: [PATCH] update hooks for list view --- superset-frontend/src/views/CRUD/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/views/CRUD/hooks.ts b/superset-frontend/src/views/CRUD/hooks.ts index 3427f39b44f5b..14de89bec2722 100644 --- a/superset-frontend/src/views/CRUD/hooks.ts +++ b/superset-frontend/src/views/CRUD/hooks.ts @@ -150,7 +150,7 @@ export function useListViewResource( updateState({ loading: false }); }); }, - [baseFilters], + [baseFilters.length ? baseFilters : null], ); return {