From d0473214cd2582ec63f4a5021a8f5927f67bc98f Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 22 Aug 2022 14:29:58 +0200 Subject: Add Nc prefix to Nc vue component names Signed-off-by: Vincent Petry --- apps/comments/src/components/Comment.vue | 50 ++++++++++++++++---------------- apps/comments/src/views/Comments.vue | 12 ++++---- 2 files changed, 31 insertions(+), 31 deletions(-) (limited to 'apps/comments') diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue index 8e4a0d15ff0..41284e50ca9 100644 --- a/apps/comments/src/components/Comment.vue +++ b/apps/comments/src/components/Comment.vue @@ -26,7 +26,7 @@
- @@ -34,27 +34,27 @@ - + - {{ t('comments', 'Cancel edit') }} - - + +
@@ -65,13 +65,13 @@
- - - +
@@ -99,12 +99,12 @@ import { getCurrentUser } from '@nextcloud/auth' import moment from '@nextcloud/moment' -import ActionButton from '@nextcloud/vue/dist/Components/ActionButton' -import Actions from '@nextcloud/vue/dist/Components/Actions' -import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator' -import Avatar from '@nextcloud/vue/dist/Components/Avatar' -import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' -import RichContenteditable from '@nextcloud/vue/dist/Components/RichContenteditable' +import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton' +import NcActions from '@nextcloud/vue/dist/Components/NcActions' +import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator' +import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar' +import NcButton from '@nextcloud/vue/dist/Components/NcButton' +import NcRichContenteditable from '@nextcloud/vue/dist/Components/NcRichContenteditable' import RichEditorMixin from '@nextcloud/vue/dist/Mixins/richEditor' import ArrowRight from 'vue-material-design-icons/ArrowRight' @@ -115,14 +115,14 @@ export default { name: 'Comment', components: { - ActionButton, - Actions, - ActionSeparator, + NcActionButton, + NcActions, + NcActionSeparator, ArrowRight, - Avatar, - ButtonVue, + NcAvatar, + NcButton, Moment, - RichContenteditable, + NcRichContenteditable, }, mixins: [RichEditorMixin, CommentMixin], diff --git a/apps/comments/src/views/Comments.vue b/apps/comments/src/views/Comments.vue index c101c2c5c39..ce887d6977c 100644 --- a/apps/comments/src/views/Comments.vue +++ b/apps/comments/src/views/Comments.vue @@ -31,9 +31,9 @@ @new="onNewComment" />
@@ -75,7 +75,7 @@ import axios from '@nextcloud/axios' import VTooltip from 'v-tooltip' import Vue from 'vue' -import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent' +import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent' import Comment from '../components/Comment' import getComments, { DEFAULT_LIMIT } from '../services/GetComments' @@ -89,7 +89,7 @@ export default { components: { // Avatar, Comment, - EmptyContent, + NcEmptyContent, }, data() { -- cgit v1.2.3