forked from AkkomaGang/akkoma-fe
Fix JS error when no statuses returned
This commit is contained in:
parent
53e104dc32
commit
068da3cf9f
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ const Timeline = {
|
|||
tag: this.tag
|
||||
}).then(statuses => {
|
||||
store.commit('setLoading', { timeline: this.timelineName, value: false })
|
||||
if (statuses.length === 0) {
|
||||
if (statuses && statuses.length === 0) {
|
||||
this.bottomedOut = true
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue