From 3ebd4689f5e4e046e186a2d35719678ca5ed67a0 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Tue, 25 Jun 2024 18:30:29 +0200 Subject: [PATCH] fix: attachment folder picker There were some breaking changes in the dialogs library we missed. Signed-off-by: Richard Steinmetz --- .../AppNavigation/Settings/SettingsAttachmentsFolder.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue b/src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue index a905af5b36..543a04202a 100644 --- a/src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue +++ b/src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue @@ -40,8 +40,9 @@ export default { async selectCalendarFolder() { const picker = getFilePickerBuilder(t('calendar', 'Select the default location for attachments')) .setMultiSelect(false) - .setModal(true) - .setType(1) + .addButton({ + label: t('calendar', 'Pick'), + }) .addMimeTypeFilter('httpd/unix-directory') .allowDirectories() .build()