mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Moves DraftAttachments into redux
This commit is contained in:
@@ -61,7 +61,7 @@ export const AttachmentList = ({
|
||||
{(attachments || []).map((attachment, index) => {
|
||||
const url = getUrl(attachment);
|
||||
|
||||
const key = url || attachment.fileName || index;
|
||||
const key = url || attachment.path || attachment.fileName || index;
|
||||
|
||||
const isImage = isImageAttachment(attachment);
|
||||
const isVideo = isVideoAttachment(attachment);
|
||||
|
||||
Reference in New Issue
Block a user