From 4e506ee4768ba963258df09f3b5c1bfdb7a48aa2 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" <13498015+amyspark@users.noreply.github.com> Date: Fri, 23 Nov 2018 23:34:53 +0000 Subject: [PATCH] Clear sidebar timeline also when component changed --- .../TimelineSpace/Contents/SideBar/AccountProfile/Timeline.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile/Timeline.vue b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile/Timeline.vue index 67c88155..eef826f1 100644 --- a/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile/Timeline.vue +++ b/src/renderer/components/TimelineSpace/Contents/SideBar/AccountProfile/Timeline.vue @@ -27,6 +27,7 @@ export default { this.load() }, mounted () { + this.$store.dispatch('TimelineSpace/Contents/SideBar/AccountProfile/Timeline/clearTimeline') document.getElementById('sidebar_scrollable').addEventListener('scroll', this.onScroll) }, destroyed () {