fix undefined account name
This commit is contained in:
parent
48df08bd31
commit
137d6fed8f
|
@ -49,10 +49,10 @@
|
||||||
store: () => store,
|
store: () => store,
|
||||||
computed: {
|
computed: {
|
||||||
profileName: ($currentAccountProfile) => {
|
profileName: ($currentAccountProfile) => {
|
||||||
return $currentAccountProfile && ('@' + $currentAccountProfile.acct)
|
return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || ''
|
||||||
},
|
},
|
||||||
shortProfileName: ($currentAccountProfile) => {
|
shortProfileName: ($currentAccountProfile) => {
|
||||||
return $currentAccountProfile && ('@' + $currentAccountProfile.username)
|
return ($currentAccountProfile && ('@' + $currentAccountProfile.username)) || ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in a new issue