logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: cb175d3f65ea79acc54949a3e33e926ce1357733
parent 830b0008a293b7542ae140568c4c2e5587c4b71d
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Wed, 21 Dec 2022 21:08:21 +0000

Merge branch 'fix-interactions-null-deref' into 'develop'

Fix interactions tab null dereference

See merge request pleroma/pleroma-fe!1707

Diffstat:

Msrc/components/notifications/notifications.js3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js @@ -101,6 +101,9 @@ const Notifications = { if (!this.scrollerRef) { this.scrollerRef = this.$refs.root.closest('.mobile-notifications') } + if (!this.scrollerRef) { + this.scrollerRef = this.$refs.root.closest('.column.main') + } this.scrollerRef.addEventListener('scroll', this.updateScrollPosition) }, unmounted () {