Skip to content

Commit c1a916c

Browse files
committed
Fix pagination in useFind
1 parent 6c307fb commit c1a916c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useFind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function find(options: UseFindOptions): UseFindData {
103103
const skip = getterParams.query.$skip || defaultSkip
104104
const limit = getterParams.query.$limit || defaultLimit
105105
const pagination =
106-
computes.paginationData[getterParams.qid || state.qid] || {}
106+
computes.paginationData.value[getterParams.qid || state.qid] || {}
107107
const response = skip != null && limit != null ? { limit, skip } : {}
108108
const queryInfo = getQueryInfo(getterParams, response)
109109
const items = getItemsFromQueryInfo(

0 commit comments

Comments
 (0)