fix(listview): preserve bulk selections when view mode is changed (#13284)

This commit is contained in:
ʈᵃᵢ 2021-02-23 11:17:31 -06:00 committed by GitHub
parent 6297ad7c8b
commit 75677f42bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ export function useListViewState({
setQuery(queryParams, method);
fetchData({ pageIndex, pageSize, sortBy, filters });
}, [fetchData, pageIndex, pageSize, sortBy, filters, viewMode]);
}, [fetchData, pageIndex, pageSize, sortBy, filters]);
useEffect(() => {
if (!isEqual(initialState.pageIndex, pageIndex)) {