diff options
| author | shpuld <shp@cock.li> | 2019-03-02 14:57:41 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-03-02 14:57:41 +0200 |
| commit | 068da3cf9f22f83da17051b8db5cde597f624fdf (patch) | |
| tree | c5ba1cdbe8761b1e15e30f885d206714c6a9ef87 /src/components/timeline/timeline.js | |
| parent | 53e104dc32080965a5a28ec37975b0c229a7d083 (diff) | |
Fix JS error when no statuses returned
Diffstat (limited to 'src/components/timeline/timeline.js')
| -rw-r--r-- | src/components/timeline/timeline.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index d986663e..655bfb3f 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -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 } }) |
