diff options
Diffstat (limited to 'apps/comments/src/views/Comments.vue')
-rw-r--r-- | apps/comments/src/views/Comments.vue | 14 |
1 files changed, 7 insertions, 7 deletions
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) |