fix push loading more stations

This commit is contained in:
Jonas Heinrich 2020-11-11 15:57:22 +01:00
parent bfc0f8d137
commit 7319726fb5

View File

@ -228,7 +228,8 @@ export default {
scroll() { scroll() {
window.onscroll = () => { window.onscroll = () => {
if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) { if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) {
this.loadStations() const route = this.$route
this.loadStations(route.name)
} }
} }
}, },