Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Sep 30, 2024
1 parent fb57816 commit c97e3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/list/ListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const ListView = <RecordType extends RaRecord = any>(
(total == null &&
hasPreviousPage === false &&
hasNextPage === false &&
// @ts-ignore FIXME total my be undefined when using partial pagination
// @ts-ignore FIXME total may be undefined when using partial pagination but the ListControllerResult type is wrong about it
data.length === 0)) &&
// the user didn't set any filters
!Object.keys(filterValues).length &&
Expand Down

0 comments on commit c97e3d7

Please sign in to comment.