From 2078f72745bcb5a35608a80488e6066de6dc94f9 Mon Sep 17 00:00:00 2001 From: TreyWW <73353716+TreyWW@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:09:53 +0000 Subject: [PATCH] fix: Users start with no name so default with "You" for client dropdown. --- frontend/templates/base/topbar/team_selector/selector.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/templates/base/topbar/team_selector/selector.html b/frontend/templates/base/topbar/team_selector/selector.html index 6f0ac134..4b700b6c 100644 --- a/frontend/templates/base/topbar/team_selector/selector.html +++ b/frontend/templates/base/topbar/team_selector/selector.html @@ -28,7 +28,7 @@ hx-swap="none">
{% component "profile_picture" image_type="small" extra_classes="p-1 h-6 w-6 object-contain" url=request.user.user_profile.profile_picture_url %} - {{ request.user.first_name|default_if_none:"You" }} + {{ request.user.first_name|default:"You" }}
{% if not request.actor.is_org %}{% endif %}