diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-04 15:33:17 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-20 13:58:06 +0200 |
commit | e7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b (patch) | |
tree | a4c187c3dacfa5e9bf28fb97941678a515f3e571 /apps/files/src/components/SidebarTab.vue | |
parent | 3d2024faf94720125855db980d8bbebb658902d1 (diff) | |
download | nextcloud-server-e7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b.tar.gz nextcloud-server-e7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b.zip |
Init vue comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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> |