From 3f29cb735621552dbfbc0ef827371e0282f85e18 Mon Sep 17 00:00:00 2001 From: Guillaume Mercey Date: Mon, 11 Jul 2022 17:29:07 -0700 Subject: [PATCH] FIX FeathersVuexGet component doesn't work with params FIX https://github.com/feathersjs-ecosystem/feathers-vuex/issues/603 --- src/FeathersVuexGet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FeathersVuexGet.ts b/src/FeathersVuexGet.ts index e41339c7..4137ec50 100644 --- a/src/FeathersVuexGet.ts +++ b/src/FeathersVuexGet.ts @@ -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