Skip to content
Snippets Groups Projects
Commit 068da3cf authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Fix JS error when no statuses returned

parent 53e104dc
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment