Clear sidebar timeline also when component changed

This commit is contained in:
L. E. Segovia 2018-11-23 23:34:53 +00:00
parent 91dfc59383
commit 4e506ee476
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ export default {
this.load() this.load()
}, },
mounted () { mounted () {
this.$store.dispatch('TimelineSpace/Contents/SideBar/AccountProfile/Timeline/clearTimeline')
document.getElementById('sidebar_scrollable').addEventListener('scroll', this.onScroll) document.getElementById('sidebar_scrollable').addEventListener('scroll', this.onScroll)
}, },
destroyed () { destroyed () {