fix undefined account name

save-focus-on-timeline
Nolan Lawson 2018-02-01 09:59:41 -08:00
rodzic 48df08bd31
commit 137d6fed8f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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