chore: Adapt to new file picker API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -140,7 +140,7 @@ import { showError, showUndo } from '@nextcloud/dialogs'
|
|||||||
|
|
||||||
import CardItem from '../cards/CardItem.vue'
|
import CardItem from '../cards/CardItem.vue'
|
||||||
|
|
||||||
import '@nextcloud/dialogs/dist/index.css'
|
import '@nextcloud/dialogs/style.css'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Stack',
|
name: 'Stack',
|
||||||
|
|||||||
@@ -100,7 +100,6 @@ const maxUploadSizeState = loadState('deck', 'maxUploadSize', -1)
|
|||||||
|
|
||||||
const picker = getFilePickerBuilder(t('deck', 'File to share'))
|
const picker = getFilePickerBuilder(t('deck', 'File to share'))
|
||||||
.setMultiSelect(false)
|
.setMultiSelect(false)
|
||||||
.setModal(true)
|
|
||||||
.setType(1)
|
.setType(1)
|
||||||
.allowDirectories()
|
.allowDirectories()
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ import { generateUrl } from '@nextcloud/router'
|
|||||||
import { getCurrentUser } from '@nextcloud/auth'
|
import { getCurrentUser } from '@nextcloud/auth'
|
||||||
import { showUndo } from '@nextcloud/dialogs'
|
import { showUndo } from '@nextcloud/dialogs'
|
||||||
|
|
||||||
import '@nextcloud/dialogs/dist/index.css'
|
import '@nextcloud/dialogs/style.css'
|
||||||
import { emit } from '@nextcloud/event-bus'
|
import { emit } from '@nextcloud/event-bus'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
Reference in New Issue
Block a user