mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01: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