diff --git a/.changeset/eleven-turtles-ring.md b/.changeset/eleven-turtles-ring.md new file mode 100644 index 0000000..3cdda9f --- /dev/null +++ b/.changeset/eleven-turtles-ring.md @@ -0,0 +1,5 @@ +--- +"@druxt-contrib/config-pages": patch +--- + +fix(#20): fixed bug with getters when using multiple config pages. diff --git a/templates/plugin.js b/templates/plugin.js index bdf56d1..cda4e6c 100644 --- a/templates/plugin.js +++ b/templates/plugin.js @@ -28,7 +28,7 @@ export default ({ app, store }, inject) => { getters: { <% for (page of Object.keys(options.configPages)) { %> - <%= page %>: get('<%= page %>') + <%= page %>: get('<%= page %>'), <% } %> } }