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)
|
this.loadTL(timeline)
|
||||||
|
|
||||||
let updateListener = (_: Event, status: Status) => {
|
let updateListener = (_: Event, status: Status) => {
|
||||||
this.pubTL.filter(tl => tl.name === timeline.name).forEach(function (tl) {
|
timeline.statuses.set(status.id, status)
|
||||||
tl.statuses.set(status.id, status)
|
|
||||||
})
|
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
ipcRenderer.on(`update-${timeline.name}-no-auth`, updateListener)
|
ipcRenderer.on(`update-${timeline.name}-no-auth`, updateListener)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user