chore: Adapt to new file picker API

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2024-05-09 13:22:36 +02:00
parent 02e61630c3
commit 4345252267
3 changed files with 2 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ import { showError, showUndo } from '@nextcloud/dialogs'
import CardItem from '../cards/CardItem.vue'
import '@nextcloud/dialogs/dist/index.css'
import '@nextcloud/dialogs/style.css'
export default {
name: 'Stack',

View File

@@ -100,7 +100,6 @@ const maxUploadSizeState = loadState('deck', 'maxUploadSize', -1)
const picker = getFilePickerBuilder(t('deck', 'File to share'))
.setMultiSelect(false)
.setModal(true)
.setType(1)
.allowDirectories()
.build()

View File

@@ -63,7 +63,7 @@ import { generateUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'
import { showUndo } from '@nextcloud/dialogs'
import '@nextcloud/dialogs/dist/index.css'
import '@nextcloud/dialogs/style.css'
import { emit } from '@nextcloud/event-bus'
export default {