diff --git a/src/components/NcEmptyContent/NcEmptyContent.vue b/src/components/NcEmptyContent/NcEmptyContent.vue
index dc875ed7d1..3003b74359 100644
--- a/src/components/NcEmptyContent/NcEmptyContent.vue
+++ b/src/components/NcEmptyContent/NcEmptyContent.vue
@@ -146,11 +146,11 @@ export default {
-
+
{{ name }}
-
+
{{ description }}
@@ -186,18 +186,6 @@ export default {
default: '',
},
},
-
- computed: {
- hasName() {
- return this.name !== ''
- },
- /**
- * Check if a description is given as either property or slot
- */
- hasDescription() {
- return this.description !== '' || this.$slots.description?.[0]
- },
- },
}
@@ -228,8 +216,8 @@ export default {
background-size: 64px;
:deep(svg) {
- width: 64px;
- height: 64px;
+ width: 64px !important;
+ height: 64px !important;
max-width: 64px !important;
max-height: 64px !important;
}
diff --git a/src/components/index.js b/src/components/index.js
index ec4c44fc73..43a0a37b49 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -68,7 +68,7 @@ export { default as NcDateTimePickerNative } from './NcDateTimePickerNative/inde
// Not yet adjusted for vue3
// export { default as NcEmojiPicker } from './NcEmojiPicker/index.js'
-// export { default as NcEmptyContent } from './NcEmptyContent/index.js'
+export { default as NcEmptyContent } from './NcEmptyContent/index.js'
export { default as NcGuestContent } from './NcGuestContent/index.js'
// export { default as NcHeaderMenu } from './NcHeaderMenu/index.js'
export { default as NcHighlight } from './NcHighlight/index.js'
diff --git a/styleguide.config.js b/styleguide.config.js
index c2ca8ef881..e65b0827da 100644
--- a/styleguide.config.js
+++ b/styleguide.config.js
@@ -116,7 +116,6 @@ module.exports = async () => {
// Not yet adjusted for vue3
'src/components/NcAvatar*/*.vue',
- 'src/components/NcEmptyContent*/*.vue',
'src/components/NcHeaderMenu*/*.vue',
'src/components/NcModal*/*.vue',
'src/components/NcRelatedResourcesPanel*/*.vue',