fix unrendered statuses breaking UI

This commit is contained in:
Henry Jameson 2025-05-13 17:54:12 +03:00
commit 7f30b3291a

View file

@ -536,6 +536,7 @@ const Status = {
this.controlledToggleThreadDisplay() this.controlledToggleThreadDisplay()
}, },
scrollIfHighlighted (highlightId) { scrollIfHighlighted (highlightId) {
if (this.$el.getBoundingClientRect == null) return
const id = highlightId const id = highlightId
if (this.status.id === id) { if (this.status.id === id) {
const rect = this.$el.getBoundingClientRect() const rect = this.$el.getBoundingClientRect()