Fix notifications/interactions null dereference

This commit is contained in:
Alexander Tumin 2022-12-11 18:50:34 +03:00
parent 830b0008a2
commit 48be4e9cb6

View File

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