diff --git a/src/Journals/ImportDialog.tsx b/src/Journals/ImportDialog.tsx index 3b90730..99f59f3 100644 --- a/src/Journals/ImportDialog.tsx +++ b/src/Journals/ImportDialog.tsx @@ -53,13 +53,13 @@ class ImportDialog extends React.Component { let dropFunction; if (collectionInfo.type === 'ADDRESS_BOOK') { - acceptTypes = ['text/vcard']; + acceptTypes = ['text/vcard', 'text/directory', 'text/x-vcard', '.vcf']; dropFunction = this.onFileDropContact; } else if (collectionInfo.type === 'CALENDAR') { - acceptTypes = ['text/calendar']; + acceptTypes = ['text/calendar', '.ics', '.ical']; dropFunction = this.onFileDropEvent; } else if (collectionInfo.type === 'TASKS') { - acceptTypes = ['text/calendar']; + acceptTypes = ['text/calendar', '.ics', '.ical']; dropFunction = this.onFileDropTask; }