diff options
| author | taehoon <th.dev91@gmail.com> | 2019-02-13 12:05:23 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-02-20 13:30:30 -0500 |
| commit | a817cc7cb464d804ccd8af2bbe22e9b738959a3a (patch) | |
| tree | a7ca6abd1d9d9b6af187d98c98dc3042ce70d62d /src/hocs | |
| parent | a56d2dfeb1c5ddd93c1c23036c0e0f2ca16d273c (diff) | |
Wire up ui to real blocks api data
Diffstat (limited to 'src/hocs')
| -rw-r--r-- | src/hocs/with_load_more/with_load_more.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hocs/with_load_more/with_load_more.js b/src/hocs/with_load_more/with_load_more.js index 0f72ffd6..14d4303d 100644 --- a/src/hocs/with_load_more/with_load_more.js +++ b/src/hocs/with_load_more/with_load_more.js @@ -48,7 +48,7 @@ const withLoadMore = (Component, fetchEntries, getEntries) => { fetchEntries(this.$props, this.$store).then((newEntries) => { this.error = false this.loading = false - this.bottomedOut = newEntries.length === 0 + this.bottomedOut = !newEntries || newEntries.length === 0 }).catch(() => { this.error = true this.loading = false |
