summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamza Mahjoubi <hamzamahjoubi221@gmail.com>2024-04-02 18:04:04 +0200
committerHamza Mahjoubi <hamzamahjoubi221@gmail.com>2024-04-02 18:04:04 +0200
commit4f43fad9dfb0034490f91a2a43008f2aa55f88ae (patch)
tree1888b8df09b93691ed6e2f459a05134aabe41c41
parent0cb85c9dc5e3b57dc12916294b5e3c54a1027672 (diff)
Fix: open import contacts filepicker
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
-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 {