We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be8d80e + 8571f94 commit d46043aCopy full SHA for d46043a
src/useFind.ts
@@ -97,7 +97,7 @@ export default function find(options: UseFindOptions): UseFindData {
97
items: computed<any[]>(() => {
98
const getterParams = unwrapParams(params)
99
100
- if (getterParams.paginate) {
+ if (getterParams && getterParams.paginate) {
101
const serviceState = model.store.state[model.servicePath]
102
const { defaultSkip, defaultLimit } = serviceState.pagination
103
const skip = getterParams.query.$skip || defaultSkip
0 commit comments