Fix username
This commit is contained in:
@@ -48,15 +48,15 @@ export default class AccountAuth extends Vue {
|
||||
ipcRenderer.send(`new-account-setup`, this.instance)
|
||||
}
|
||||
public authCode() {
|
||||
ipcRenderer.send(`new-account-auth`, this.code, this.instance)
|
||||
this.code = ""
|
||||
this.instance = ''
|
||||
ipcRenderer.once(
|
||||
`login-complete`,
|
||||
(e: Event, account: Account) => {
|
||||
this.$emit('login-complete', account)
|
||||
}
|
||||
)
|
||||
ipcRenderer.send(`new-account-auth`, this.code, this.instance)
|
||||
this.code = ""
|
||||
this.instance = ''
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -55,7 +55,7 @@ export default class Welcome extends Vue {
|
||||
public status: Status = 'welcome'
|
||||
|
||||
public loggedIn(account: Account) {
|
||||
this.username = `@${account.acct}@${account.domain}`
|
||||
this.username = `${account.acct}@${account.domain}`
|
||||
this.status = 'select_timeline'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user