1
0
Fork 0

Searching resets infinite scroll

This commit is contained in:
Joe Wroten 2017-05-14 05:55:23 -05:00
parent 90a6824e37
commit b2a43cc946

View file

@ -54,6 +54,11 @@ export default {
console.log('load more!', index)
this.loadedPage += index
}
},
watch: {
search () {
this.loadedPage = 1
}
}
}
</script>