summaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/SidebarTab.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/components/SidebarTab.vue')
-rw-r--r--apps/files/src/components/SidebarTab.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/src/components/SidebarTab.vue b/apps/files/src/components/SidebarTab.vue
index c0f5a7d4416..ac3cfba7d02 100644
--- a/apps/files/src/components/SidebarTab.vue
+++ b/apps/files/src/components/SidebarTab.vue
@@ -26,6 +26,9 @@
:name="name"
:icon="icon"
@bottomReached="onScrollBottomReached">
+ <template #icon>
+ <slot name="icon" />
+ </template>
<!-- Fallback loading -->
<NcEmptyContent v-if="loading" icon="icon-loading" />
@@ -63,7 +66,7 @@ export default {
},
icon: {
type: String,
- required: true,
+ required: false,
},
/**