diff options
author | dartcafe <github@dartcafe.de> | 2022-09-21 23:25:12 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-09-21 23:25:12 +0300 |
commit | 7134eb178c60efe256783ca7e676ca741b75bd56 (patch) | |
tree | 4b8ec6d64ef7e5c30fe398a02d0f693a7afd104a /src/js/components/SideBar | |
parent | bb1ae6bf2e592b96082dbb8365eb3a4e3e22f8b5 (diff) |
fix NcEmptyContent title
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r-- | src/js/components/SideBar/SideBarTabActivity.vue | 3 | ||||
-rw-r--r-- | src/js/components/SideBar/SideBarTabComments.vue | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/js/components/SideBar/SideBarTabActivity.vue b/src/js/components/SideBar/SideBarTabActivity.vue index 436ea922..9c7f8c10 100644 --- a/src/js/components/SideBar/SideBarTabActivity.vue +++ b/src/js/components/SideBar/SideBarTabActivity.vue @@ -23,11 +23,10 @@ <template> <div class="comments"> <Activities v-if="!showEmptyContent" /> - <NcEmptyContent v-else> + <NcEmptyContent v-else :title="t('polls', 'No activity')"> <template #icon> <ActivityIcon /> </template> - {{ t('polls', 'No activity') }} </NcEmptyContent> </div> </template> diff --git a/src/js/components/SideBar/SideBarTabComments.vue b/src/js/components/SideBar/SideBarTabComments.vue index d61a412d..15883056 100644 --- a/src/js/components/SideBar/SideBarTabComments.vue +++ b/src/js/components/SideBar/SideBarTabComments.vue @@ -24,12 +24,11 @@ <div class="comments"> <CommentAdd v-if="acl.allowComment" /> <Comments v-if="!showEmptyContent" /> - <NcEmptyContent v-else> - {{ t('polls', 'No comments') }} + <NcEmptyContent :title="t('polls', 'No comments')"> <template #icon> <CommentsIcon /> </template> - <template #desc> + <template #action> {{ t('polls', 'Be the first.') }} </template> </NcEmptyContent> |