fix undefined account name
This commit is contained in:
parent
48df08bd31
commit
137d6fed8f
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue