Remove unnecessary event listener

This commit is contained in:
Angelina Filippova 2019-10-15 19:23:40 +02:00
parent 319b0d3c44
commit e38dbbf4c7

View file

@ -208,9 +208,6 @@ export default {
return this.$store.state.reports.fetchedReports return this.$store.state.reports.fetchedReports
} }
}, },
created() {
window.addEventListener('scroll', this.handleScroll)
},
methods: { methods: {
toggleReportsGrouping() { toggleReportsGrouping() {
this.$store.dispatch('ToggleReportsGrouping') this.$store.dispatch('ToggleReportsGrouping')