fix undefined account name

This commit is contained in:
Nolan Lawson 2018-02-01 09:59:41 -08:00
parent 48df08bd31
commit 137d6fed8f

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: {