feat: add alias as user id to main user

This commit is contained in:
Julien Calixte
2019-08-25 12:42:55 +02:00
parent aa102ebd9b
commit 1b33242bf0
2 changed files with 7 additions and 1 deletions

View File

@@ -120,6 +120,12 @@ export default class AccountNew extends Vue {
public currencyShow: boolean = false
public isPublic: boolean = false
public mounted(): void {
if (this.user && !this.user.alias) {
this.user.alias = this.user.userId
}
}
public toggleCurrencyShow(): void {
this.currencyShow = !this.currencyShow
}