🐛 Hotfix: Broken toast and edit/save operations
This commit is contained in:
@@ -218,10 +218,8 @@ export const mutations = {
|
||||
},
|
||||
|
||||
editCollection({ collections }, payload) {
|
||||
const {
|
||||
collection: { name },
|
||||
collectionIndex,
|
||||
} = payload
|
||||
const { collection, collectionIndex } = payload
|
||||
const { name } = collection
|
||||
const duplicateCollection = collections.some(
|
||||
item => item.name.toLowerCase() === name.toLowerCase()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user