pull/2681/merge
Ian Macdonald 2 months ago committed by GitHub
commit 870740d8ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -37,9 +37,8 @@ const stagedAttachmentsSlice = createSlice({
} }
const allAttachments = _.concat(currentStagedAttachments, newAttachments); const allAttachments = _.concat(currentStagedAttachments, newAttachments);
const uniqAttachments = _.uniqBy(allAttachments, m => m.fileName);
state.stagedAttachments[conversationKey] = uniqAttachments; state.stagedAttachments[conversationKey] = allAttachments;
return state; return state;
}, },
removeAllStagedAttachmentsInConversation( removeAllStagedAttachmentsInConversation(

Loading…
Cancel
Save