Skip to content

Commit

Permalink
fix: Users start with no name so default with "You" for client dropdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyWW committed Nov 14, 2024
1 parent a6f215c commit 2078f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/templates/base/topbar/team_selector/selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
hx-swap="none">
<div class="items-center flex flex-row">
{% component "profile_picture" image_type="small" extra_classes="p-1 h-6 w-6 object-contain" url=request.user.user_profile.profile_picture_url %}
<a>{{ request.user.first_name|default_if_none:"You" }}</a>
<a>{{ request.user.first_name|default:"You" }}</a>
</div>
{% if not request.actor.is_org %}<i class="fa fa-check"></i>{% endif %}
</button>
Expand Down

0 comments on commit 2078f72

Please sign in to comment.