Remove duplicate action
This commit is contained in:
parent
a0e5b2777d
commit
0dde80f267
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user