From 0dde80f267ce2e825310afb483ca5ee57e2a9a29 Mon Sep 17 00:00:00 2001 From: kPherox Date: Wed, 24 Apr 2019 17:37:46 +0900 Subject: [PATCH] Remove duplicate action --- src/components/AddColumn/PublicTimeline.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/AddColumn/PublicTimeline.vue b/src/components/AddColumn/PublicTimeline.vue index 67607ddd..1a81970d 100644 --- a/src/components/AddColumn/PublicTimeline.vue +++ b/src/components/AddColumn/PublicTimeline.vue @@ -65,9 +65,7 @@ export default class AddColumn extends Vue { this.loadTL(timeline) let updateListener = (_: Event, status: Status) => { - this.pubTL.filter(tl => tl.name === timeline.name).forEach(function (tl) { - tl.statuses.set(status.id, status) - }) + timeline.statuses.set(status.id, status) this.$forceUpdate() } ipcRenderer.on(`update-${timeline.name}-no-auth`, updateListener)