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
1 changed files with 1 additions and 0 deletions

View File

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