From 2c63ae944b5c2c067f96735ddb1f1e94790bb08e Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Thu, 3 Nov 2016 18:26:11 -0700 Subject: [PATCH] fix(attachments) Add default value for filePreviewPaths in case they are not provided --- internal_packages/attachments/lib/message-attachments.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/internal_packages/attachments/lib/message-attachments.jsx b/internal_packages/attachments/lib/message-attachments.jsx index d5f623047..a7ee3dd8b 100644 --- a/internal_packages/attachments/lib/message-attachments.jsx +++ b/internal_packages/attachments/lib/message-attachments.jsx @@ -16,6 +16,7 @@ class MessageAttachments extends Component { static defaultProps = { downloads: {}, + filePreviewPaths: {}, } onOpenAttachment = (file) => {