Wire up ui to real blocks api data
This commit is contained in:
parent
a56d2dfeb1
commit
a817cc7cb4
6 changed files with 40 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue