diff --git a/store/postwoman.js b/store/postwoman.js index a0e93faaf..acab67759 100644 --- a/store/postwoman.js +++ b/store/postwoman.js @@ -139,8 +139,8 @@ export const mutations = { }, editCollection({ collections }, payload) { - const { collection, collectionIndex } = payload; - const { name } = collection; + const { collection: { name }, collectionIndex } = payload; + // const { name } = collection; const duplicateCollection = collections.some( item => item.name.toLowerCase() === name.toLowerCase() );