Skip to content

Commit

Permalink
testing username
Browse files Browse the repository at this point in the history
  • Loading branch information
rag2111 committed Mar 6, 2024
1 parent d8a86f2 commit be8c5df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AIHub/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
class="rounded-circle">
</span>
<span class="d-lg-flex flex-column gap-1 d-none">
<h5 class="my-0">John Doe</h5>
<h6 class="my-0 fw-normal">Chief Financial Officer</h6>
<h5 class="my-0">@(String.IsNullOrEmpty(Context.User.Identity.Name) ? Environment.UserName : Context.User.Identity.Name)</h5>

Check warning on line 108 in src/AIHub/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build

Dereference of a possibly null reference.

Check warning on line 108 in src/AIHub/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build

Dereference of a possibly null reference.
@* <h6 class="my-0 fw-normal">Chief Financial Officer</h6> *@
</span>
</a>
@* <div class="dropdown-menu dropdown-menu-end dropdown-menu-animated profile-dropdown">
Expand Down Expand Up @@ -150,6 +150,7 @@
<li class="nav-link arrow-none nav-user px-2">
<!--<a class="nav-link" href="http://www.microsoft.com" target="blank">-->
<span class="logo-lg"><img src="/images/customer/customer-logo.png"></span>

<!--</a>-->
</li>
</ul>
Expand Down

0 comments on commit be8c5df

Please sign in to comment.