summaryrefslogtreecommitdiffstats
path: root/apps/user_status/src/views
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-22 14:29:58 +0200
committerVincent Petry <vincent@nextcloud.com>2022-08-25 08:38:00 +0200
commitd0473214cd2582ec63f4a5021a8f5927f67bc98f (patch)
tree455708226929d13d55e24bde90833e1508a38714 /apps/user_status/src/views
parent708018795863999b674d1e3e900313785893d6a8 (diff)
downloadnextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz
nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/user_status/src/views')
-rw-r--r--apps/user_status/src/views/Dashboard.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_status/src/views/Dashboard.vue b/apps/user_status/src/views/Dashboard.vue
index b8f68d77fdc..2b24ec6032f 100644
--- a/apps/user_status/src/views/Dashboard.vue
+++ b/apps/user_status/src/views/Dashboard.vue
@@ -27,7 +27,7 @@
<DashboardWidgetItem :main-text="item.mainText"
:sub-text="item.subText">
<template #avatar>
- <Avatar class="item-avatar"
+ <NcAvatar class="item-avatar"
:size="44"
:user="item.avatarUsername"
:display-name="item.mainText"
@@ -37,12 +37,12 @@
</DashboardWidgetItem>
</template>
<template #empty-content>
- <EmptyContent id="user_status-widget-empty-content">
+ <NcEmptyContent id="user_status-widget-empty-content">
<template #icon>
<div class="icon-user-status" />
</template>
{{ t('user_status', 'No recent status changes') }}
- </EmptyContent>
+ </NcEmptyContent>
</template>
</DashboardWidget>
</template>
@@ -50,17 +50,17 @@
<script>
import { DashboardWidget, DashboardWidgetItem } from '@nextcloud/vue-dashboard'
import { loadState } from '@nextcloud/initial-state'
-import Avatar from '@nextcloud/vue/dist/Components/Avatar'
-import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
+import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
+import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
import moment from '@nextcloud/moment'
export default {
name: 'Dashboard',
components: {
- Avatar,
+ NcAvatar,
DashboardWidget,
DashboardWidgetItem,
- EmptyContent,
+ NcEmptyContent,
},
data() {
return {