Commit 72ba41a7 authored by Sebastien Chopin's avatar Sebastien Chopin

Fix errors

parent 7adde422
......@@ -87,7 +87,7 @@
methods: {
loadItems(to = this.page, from = -1) {
this.$bar.start()
this.$nuxt.$loading.start()
this.$store.dispatch('FETCH_LIST_DATA', {
type: this.type
}).then(() => {
......@@ -100,7 +100,7 @@
: to > from ? 'slide-left' : 'slide-right'
this.displayedPage = to
this.displayedItems = this.$store.getters.activeItems
this.$bar.finish()
this.$nuxt.$loading.finish()
})
}
}
......
......@@ -88,6 +88,7 @@
return fetchComments(store, store.state.items[id])
})))
}
return Promise.resolve()
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment