Fix notifications/interactions null dereference
This commit is contained in:
parent
830b0008a2
commit
48be4e9cb6
|
@ -101,6 +101,9 @@ const Notifications = {
|
||||||
if (!this.scrollerRef) {
|
if (!this.scrollerRef) {
|
||||||
this.scrollerRef = this.$refs.root.closest('.mobile-notifications')
|
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)
|
this.scrollerRef.addEventListener('scroll', this.updateScrollPosition)
|
||||||
},
|
},
|
||||||
unmounted () {
|
unmounted () {
|
||||||
|
|
Loading…
Reference in New Issue