fix crash in mobile nav
This commit is contained in:
parent
7966b0b97f
commit
142e8cbf2f
2 changed files with 1 additions and 3 deletions
|
|
@ -152,9 +152,6 @@ const MobileNav = {
|
|||
},
|
||||
onScroll({ target: { scrollTop, clientHeight, scrollHeight } }) {
|
||||
this.notificationsAtTop = scrollTop > 0
|
||||
if (scrollTop + clientHeight >= scrollHeight) {
|
||||
this.$refs.notifications.fetchOlderNotifications()
|
||||
}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@
|
|||
/>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Notifications teleport target -->
|
||||
<div
|
||||
id="mobile-notifications"
|
||||
ref="mobileNotifications"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue