diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-12 14:06:09 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-12 15:26:27 +0200 |
commit | 8edad9d5659d4a15b45550c345e36d6ac72ac3c0 (patch) | |
tree | cb8c269eebb0adf8a88e5a7f6a0dae5be00ce719 /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | |
parent | 950ee938ba4bbc9b78254df276220efa5d140d1b (diff) |
Fix import of ButtonVue
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index 17ef3f3ad..64d256421 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -52,7 +52,7 @@ <span v-if="isLoading" v-tooltip="previewTooltip" class="preview loading" /> - <Button v-if="isUploadEditor" + <ButtonVue v-if="isUploadEditor" class="remove-file" tabindex="1" type="primary" @@ -61,7 +61,7 @@ <template #icon> <Close /> </template> - </Button> + </ButtonVue> <ProgressBar v-if="isTemporaryUpload && !isUploadEditor" :value="uploadProgress" /> <div v-if="shouldShowFileDetail" class="name-container"> {{ fileDetail }} @@ -78,7 +78,7 @@ import PlayCircleOutline from 'vue-material-design-icons/PlayCircleOutline' import { getCapabilities } from '@nextcloud/capabilities' import { encodePath } from '@nextcloud/paths' import AudioPlayer from './AudioPlayer.vue' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' const PREVIEW_TYPE = { TEMPORARY: 0, @@ -94,7 +94,7 @@ export default { ProgressBar, Close, PlayCircleOutline, - Button, + ButtonVue, }, directives: { |