Merge branch 'fix/timeline-softlock' into 'develop'

Fix timeline softlock when switching from a loading timeline

See merge request pleroma/pleroma-fe!164
This commit is contained in:
lambda 2017-11-16 13:56:48 +00:00
commit 86e685ac34

View file

@ -60,6 +60,7 @@ const Timeline = {
}, },
destroyed () { destroyed () {
window.removeEventListener('scroll', this.scrollLoad) window.removeEventListener('scroll', this.scrollLoad)
this.$store.commit('setLoading', { timeline: this.timelineName, value: false })
}, },
methods: { methods: {
showNewStatuses () { showNewStatuses () {