Skip to content

Commit 260c32c

Browse files
dzotoskazupon
authored andcommitted
Docs: Patch fetchItem method store access in Item.vue (#234)
1 parent 3839359 commit 260c32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default {
131131
methods: {
132132
fetchItem () {
133133
// return the Promise from the action
134-
return store.dispatch('fetchItem', this.$route.params.id)
134+
return this.$store.dispatch('fetchItem', this.$route.params.id)
135135
}
136136
}
137137
}

0 commit comments

Comments
 (0)