From 68b50c5803c254cbd0b3dd31e8ff972a8396acf2 Mon Sep 17 00:00:00 2001 From: Giovanni Oggioni Date: Tue, 18 Oct 2022 22:24:17 +0200 Subject: [PATCH] fixed _id not found error in the mounted hook --- examples/with-vue/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-vue/src/App.vue b/examples/with-vue/src/App.vue index 9dbb64df5..04901fda2 100644 --- a/examples/with-vue/src/App.vue +++ b/examples/with-vue/src/App.vue @@ -30,7 +30,7 @@ export default defineComponent({ .then(pokeList => { for (const { id, name } of pokeList.pokemon) { insert(this.db, { - _id, + _id: id, name, }); }