Update usage of `display_name` in shared sidebar

This commit is contained in:
Karina Kwiatek 2021-12-23 21:49:42 +01:00
parent 21f01fed02
commit df606a768e
1 changed files with 2 additions and 2 deletions

View File

@ -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?