Add add-timeline event

This commit is contained in:
kPherox
2019-05-05 23:35:31 +09:00
parent 161ebb3f40
commit e3a1dded3d
3 changed files with 70 additions and 25 deletions

View File

@@ -89,6 +89,7 @@ export default class PublicTimeline extends Vue {
public addTL() {
let timeline: Timeline = { name: this.instance, statuses: new Map() }
ipcRenderer.send("add-timeline", timeline.name, 'no-auth')
this.showInput = false
this.instance = ""