Skip to content

Commit

Permalink
chore: Fix typo in collection.js
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Jul 3, 2024
1 parent 5363e6e commit 9ba6955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const getters = {
collectionsFiles: state => state.collectionsFiles,
collectionsWithPrefix: state => function(prefix) {
return Object.values(state.collections)
.filter(collections => collections.filename.startsWith(prefix))
.filter(collection => collection.filename.startsWith(prefix))
.reduce((collections, collection) => ({ ...collections, [collection.filename]: collection }), {})
},
}
Expand Down

0 comments on commit 9ba6955

Please sign in to comment.