Skip to content

Commit 22cf7cf

Browse files
committed
limit initially loaded time entries on the time page to 50
1 parent cfbfbd4 commit 22cf7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/js/utils/useTimeEntriesInfiniteQuery.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export function useTimeEntriesInfiniteQuery() {
2121
const queries: Record<string, string | undefined> = {
2222
only_full_dates: 'true',
2323
member_id: memberId.value,
24+
limit: '50',
2425
};
2526

2627
if (pageParam) {

0 commit comments

Comments
 (0)