Skip to content

Commit

Permalink
FIX FeathersVuexGet component doesn't work with params
Browse files Browse the repository at this point in the history
  • Loading branch information
gmercey authored Jul 12, 2022
1 parent 8643bd7 commit 3f29cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FeathersVuexGet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {
if (query) {
args.push(query)
}
return this.$store.getters[`${this.service}/get`](args) || null
return this.$store.getters[`${this.service}/get`](this.id) || null
}
} else {
return null
Expand Down

0 comments on commit 3f29cb7

Please sign in to comment.