logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 48be4e9cb6a730cdcecbd1d2db294406315f1d87
parent 830b0008a293b7542ae140568c4c2e5587c4b71d
Author: Alexander Tumin <iamtakingiteasy@eientei.org>
Date:   Sun, 11 Dec 2022 18:50:34 +0300

Fix notifications/interactions null dereference

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 () {