fix undefined account name

This commit is contained in:
Nolan Lawson 2018-02-01 09:59:41 -08:00
parent 48df08bd31
commit 137d6fed8f
1 changed files with 2 additions and 2 deletions

View File

@ -49,10 +49,10 @@
store: () => store,
computed: {
profileName: ($currentAccountProfile) => {
return $currentAccountProfile && ('@' + $currentAccountProfile.acct)
return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || ''
},
shortProfileName: ($currentAccountProfile) => {
return $currentAccountProfile && ('@' + $currentAccountProfile.username)
return ($currentAccountProfile && ('@' + $currentAccountProfile.username)) || ''
}
},
components: {