diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-07-23 02:03:13 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-08-02 15:19:26 +0200 |
commit | 663db2bb3439e191a9969aaa56cf8f936f1579e2 (patch) | |
tree | 4f8a4e5977bc67dada692ca8ae1b52653950c682 /apps/comments/src | |
parent | 114cad3812839afa00f4144b7029ccf882bbea75 (diff) | |
download | nextcloud-server-663db2bb3439e191a9969aaa56cf8f936f1579e2.tar.gz nextcloud-server-663db2bb3439e191a9969aaa56cf8f936f1579e2.zip |
chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/comments/src')
-rw-r--r-- | apps/comments/src/components/Comment.vue | 3 | ||||
-rw-r--r-- | apps/comments/src/views/Comments.vue | 14 |
2 files changed, 9 insertions, 8 deletions
diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue index 29469dcf9e9..9301df12a73 100644 --- a/apps/comments/src/components/Comment.vue +++ b/apps/comments/src/components/Comment.vue @@ -91,12 +91,13 @@ <!-- Message content --> <!-- The html is escaped and sanitized before rendering --> - <!-- eslint-disable-next-line vue/no-v-html--> + <!-- eslint-disable vue/no-v-html--> <div v-else :class="{'comment__message--expanded': expanded}" class="comment__message" @click="onExpand" v-html="renderedContent" /> + <!-- eslint-enable vue/no-v-html--> </div> </component> </template> diff --git a/apps/comments/src/views/Comments.vue b/apps/comments/src/views/Comments.vue index 31a00869d63..00d39539341 100644 --- a/apps/comments/src/views/Comments.vue +++ b/apps/comments/src/views/Comments.vue @@ -22,9 +22,9 @@ --> <template> - <div class="comments" - :class="{ 'icon-loading': isFirstLoading }" - v-observe-visibility="onVisibilityChange"> + <div v-observe-visibility="onVisibilityChange" + class="comments" + :class="{ 'icon-loading': isFirstLoading }"> <!-- Editor --> <Comment v-bind="editorData" :auto-complete="autoComplete" @@ -37,7 +37,7 @@ <template v-if="!isFirstLoading"> <NcEmptyContent v-if="!hasComments && done" class="comments__empty" - :title="t('comments', 'No comments yet, start the conversation!')"> + :name="t('comments', 'No comments yet, start the conversation!')"> <template #icon> <MessageReplyTextIcon /> </template> @@ -65,7 +65,7 @@ <!-- Error message --> <template v-else-if="error"> - <NcEmptyContent class="comments__error" :title="error"> + <NcEmptyContent class="comments__error" :name="error"> <template #icon> <AlertCircleOutlineIcon /> </template> @@ -191,8 +191,8 @@ export default { /** * Make sure we have all mentions as Array of objects * - * @param {Array} mentions the mentions list - * @return {Object<string, object>} + * @param {any[]} mentions the mentions list + * @return {Record<string, object>} */ genMentionsData(mentions) { Object.values(mentions) |