mirror of https://github.com/apache/superset.git
fix(listview): preserve bulk selections when view mode is changed (#13284)
This commit is contained in:
parent
6297ad7c8b
commit
75677f42bc
|
@ -324,7 +324,7 @@ export function useListViewState({
|
||||||
setQuery(queryParams, method);
|
setQuery(queryParams, method);
|
||||||
|
|
||||||
fetchData({ pageIndex, pageSize, sortBy, filters });
|
fetchData({ pageIndex, pageSize, sortBy, filters });
|
||||||
}, [fetchData, pageIndex, pageSize, sortBy, filters, viewMode]);
|
}, [fetchData, pageIndex, pageSize, sortBy, filters]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isEqual(initialState.pageIndex, pageIndex)) {
|
if (!isEqual(initialState.pageIndex, pageIndex)) {
|
||||||
|
|
Loading…
Reference in New Issue