committed by
Julius Härtl
parent
d27a5ac9ba
commit
b90842e717
@@ -62,7 +62,7 @@ export default {
|
||||
deleteAttachment(state, deletedAttachment) {
|
||||
const existingIndex = state.attachments[deletedAttachment.cardId].findIndex(a => a.id === deletedAttachment.id)
|
||||
if (existingIndex !== -1) {
|
||||
//state.attachments[deletedAttachment.cardId].splice(existingIndex, 1)
|
||||
// state.attachments[deletedAttachment.cardId].splice(existingIndex, 1)
|
||||
state.attachments[deletedAttachment.cardId][existingIndex].deletedAt = -1
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user