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

Fix errors

parent 7adde422
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
methods: { methods: {
loadItems(to = this.page, from = -1) { loadItems(to = this.page, from = -1) {
this.$bar.start() this.$nuxt.$loading.start()
this.$store.dispatch('FETCH_LIST_DATA', { this.$store.dispatch('FETCH_LIST_DATA', {
type: this.type type: this.type
}).then(() => { }).then(() => {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
: to > from ? 'slide-left' : 'slide-right' : to > from ? 'slide-left' : 'slide-right'
this.displayedPage = to this.displayedPage = to
this.displayedItems = this.$store.getters.activeItems this.displayedItems = this.$store.getters.activeItems
this.$bar.finish() this.$nuxt.$loading.finish()
}) })
} }
} }
......
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
return fetchComments(store, store.state.items[id]) return fetchComments(store, store.state.items[id])
}))) })))
} }
return Promise.resolve()
} }
</script> </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