Skip to content

Commit

Permalink
fix(#20): add comma to nuxt store template
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Feb 27, 2023
1 parent cb45ecb commit 1d14b49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-turtles-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@druxt-contrib/config-pages": patch
---

fix(#20): fixed bug with getters when using multiple config pages.
2 changes: 1 addition & 1 deletion templates/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default ({ app, store }, inject) => {

getters: {
<% for (page of Object.keys(options.configPages)) { %>
<%= page %>: get('<%= page %>')
<%= page %>: get('<%= page %>'),
<% } %>
}
}
Expand Down

0 comments on commit 1d14b49

Please sign in to comment.