summaryrefslogtreecommitdiffstats
path: root/src/components/AppNavigation/Settings/SettingsImportContacts.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppNavigation/Settings/SettingsImportContacts.vue')
-rw-r--r--src/components/AppNavigation/Settings/SettingsImportContacts.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/AppNavigation/Settings/SettingsImportContacts.vue b/src/components/AppNavigation/Settings/SettingsImportContacts.vue
index 07fde312..5a578c1b 100644
--- a/src/components/AppNavigation/Settings/SettingsImportContacts.vue
+++ b/src/components/AppNavigation/Settings/SettingsImportContacts.vue
@@ -110,10 +110,9 @@ const CancelToken = axios.CancelToken
const picker = getFilePickerBuilder(t('contacts', 'Choose a vCard file to import'))
.setMultiSelect(false)
- .setModal(true)
.setType(1)
.allowDirectories(false)
- .setMimeTypeFilter('text/vcard')
+ .addMimeTypeFilter('text/vcard')
.build()
export default {