Show username in boost if no display_name found
This commit is contained in:
parent
dae4d98f54
commit
0fd0441093
@ -225,7 +225,10 @@ statusView context ({ account, content, media_attachments, reblog, mentions, pin
|
||||
[ p [ class "status-info" ]
|
||||
[ Common.icon "fire"
|
||||
, a (accountLinkAttributes ++ [ class "reblogger" ])
|
||||
[ text <| " " ++ account.display_name ]
|
||||
[ text <| " " ++ if account.display_name == "" then
|
||||
account.username
|
||||
else
|
||||
account.display_name]
|
||||
, text " boosted"
|
||||
]
|
||||
, Lazy.lazy2 statusView context reblog
|
||||
|
Loading…
Reference in New Issue
Block a user