mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 19:23:13 +08:00
fix(attachments) Add default value for filePreviewPaths in case they are not provided
This commit is contained in:
parent
91199b673c
commit
2c63ae944b
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ class MessageAttachments extends Component {
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
downloads: {},
|
downloads: {},
|
||||||
|
filePreviewPaths: {},
|
||||||
}
|
}
|
||||||
|
|
||||||
onOpenAttachment = (file) => {
|
onOpenAttachment = (file) => {
|
||||||
|
|
Loading…
Reference in a new issue