Skip to content

Commit 5fb5d30

Browse files
authored
Update FeathersVuexFind.ts
fix for #527
1 parent 3d21be7 commit 5fb5d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FeathersVuexFind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878

7979
params = params || { query, temps }
8080

81-
return query ? $store.getters[`${service}/find`](params).data : []
81+
return (params && params.query) ? $store.getters[`${service}/find`](params).data : []
8282
},
8383
pagination() {
8484
return this.$store.state[this.service].pagination[this.qid]

0 commit comments

Comments
 (0)