From 434525226784512ca1ccd8dd85ea005c0d863913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 9 May 2024 13:22:36 +0200 Subject: [PATCH] chore: Adapt to new file picker API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/board/Stack.vue | 2 +- src/components/card/AttachmentList.vue | 1 - src/components/cards/CardMenuEntries.vue | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/board/Stack.vue b/src/components/board/Stack.vue index 74e8c7798..e8aa90691 100644 --- a/src/components/board/Stack.vue +++ b/src/components/board/Stack.vue @@ -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', diff --git a/src/components/card/AttachmentList.vue b/src/components/card/AttachmentList.vue index f1d7eb3c0..8bd68f409 100644 --- a/src/components/card/AttachmentList.vue +++ b/src/components/card/AttachmentList.vue @@ -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() diff --git a/src/components/cards/CardMenuEntries.vue b/src/components/cards/CardMenuEntries.vue index 245c8c0ff..ce8da18c7 100644 --- a/src/components/cards/CardMenuEntries.vue +++ b/src/components/cards/CardMenuEntries.vue @@ -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 {