Clear sidebar timeline also when component changed
This commit is contained in:
parent
91dfc59383
commit
4e506ee476
|
@ -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 () {
|
||||||
|
|
Loading…
Reference in New Issue