diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-18 17:52:32 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-18 17:52:32 +0200 |
commit | 02e83a61dc246c3130a6ed8bd2e969996b96d0b8 (patch) | |
tree | 0f62a940951a7990793e224009172729f3fae33e /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | |
parent | 5bceccef75416d5f46f66217568e21b440f3dea0 (diff) |
Adjust imports
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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index b0c0e09fa..8b884a4fa 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" /> - <ButtonVue v-if="isUploadEditor" + <NcButton v-if="isUploadEditor" class="remove-file" tabindex="1" type="primary" @@ -61,8 +61,8 @@ <template #icon> <Close /> </template> - </ButtonVue> - <ProgressBar v-if="isTemporaryUpload && !isUploadEditor" :value="uploadProgress" /> + </NcButton> + <NcProgressBar v-if="isTemporaryUpload && !isUploadEditor" :value="uploadProgress" /> <div v-if="shouldShowFileDetail" class="name-container"> {{ fileDetail }} </div> @@ -71,14 +71,14 @@ <script> import { generateUrl, imagePath, generateRemoteUrl } from '@nextcloud/router' -import ProgressBar from '@nextcloud/vue/dist/Components/ProgressBar.js' +import NcProgressBar from '@nextcloud/vue/dist/Components/NcProgressBar.js' import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js' import Close from 'vue-material-design-icons/Close.vue' import PlayCircleOutline from 'vue-material-design-icons/PlayCircleOutline.vue' import { getCapabilities } from '@nextcloud/capabilities' import { encodePath } from '@nextcloud/paths' import AudioPlayer from './AudioPlayer.vue' -import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue.js' +import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' const PREVIEW_TYPE = { TEMPORARY: 0, @@ -91,10 +91,10 @@ export default { name: 'FilePreview', components: { - ProgressBar, + NcProgressBar, Close, PlayCircleOutline, - ButtonVue, + NcButton, }, directives: { |