diff --git a/src/components/MessageAttachments.vue b/src/components/MessageAttachments.vue index d9273c344c..f77e3669b9 100644 --- a/src/components/MessageAttachments.vue +++ b/src/components/MessageAttachments.vue @@ -23,19 +23,26 @@ @open="showViewer(fileInfos[idx])" /> -
+ + @@ -67,7 +84,7 @@ import { showError, showSuccess } from '@nextcloud/dialogs' import { FilePickerVue as FilePicker } from '@nextcloud/dialogs/filepicker.js' import { generateUrl } from '@nextcloud/router' -import { NcLoadingIcon as IconLoading } from '@nextcloud/vue' +import { NcLoadingIcon as IconLoading, NcButton } from '@nextcloud/vue' import ChevronDown from 'vue-material-design-icons/ChevronDown.vue' import ChevronUp from 'vue-material-design-icons/ChevronUp.vue' import CloudDownload from 'vue-material-design-icons/CloudDownloadOutline.vue' @@ -80,6 +97,7 @@ import { saveAttachmentsToFiles } from '../service/AttachmentService.js' export default { name: 'MessageAttachments', components: { + NcButton, MessageAttachment, IconLoading, Download, @@ -181,7 +199,7 @@ export default { } -