Skip to content

Commit

Permalink
fix: attachment folder picker
Browse files Browse the repository at this point in the history
There were some breaking changes in the dialogs library we missed.

Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Jun 25, 2024
1 parent 8ef6476 commit 3ebd468
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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({

Check warning on line 43 in src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/Settings/SettingsAttachmentsFolder.vue#L43

Added line #L43 was not covered by tests
label: t('calendar', 'Pick'),
})
.addMimeTypeFilter('httpd/unix-directory')
.allowDirectories()
.build()
Expand Down

0 comments on commit 3ebd468

Please sign in to comment.