diff options
Diffstat (limited to 'apps/files/src/components/SidebarTab.vue')
-rw-r--r-- | apps/files/src/components/SidebarTab.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files/src/components/SidebarTab.vue b/apps/files/src/components/SidebarTab.vue index 1fc93486bc0..bead5cad1ef 100644 --- a/apps/files/src/components/SidebarTab.vue +++ b/apps/files/src/components/SidebarTab.vue @@ -25,7 +25,8 @@ :id="id" ref="tab" :name="name" - :icon="icon"> + :icon="icon" + @bottomReached="onScrollBottomReached"> <!-- Fallback loading --> <EmptyContent v-if="loading" icon="icon-loading" /> @@ -83,6 +84,10 @@ export default { type: Function, required: true, }, + onScrollBottomReached: { + type: Function, + default: () => {}, + }, }, data() { @@ -120,6 +125,5 @@ export default { // unmount the tab await this.onDestroy() }, - } </script> |