Update usage of `display_name` in shared sidebar
This commit is contained in:
parent
21f01fed02
commit
df606a768e
|
@ -3,9 +3,9 @@
|
|||
.card-body
|
||||
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
||||
.profile__name
|
||||
- unless current_user.display_name.blank?
|
||||
- unless current_user.profile.display_name.blank?
|
||||
.profile__display-name
|
||||
= current_user.display_name
|
||||
= current_user.profile.display_name
|
||||
.profile__screen-name
|
||||
= current_user.screen_name
|
||||
- unless @list.nil?
|
||||
|
|
Loading…
Reference in New Issue