Fix workspace user header null render and ignore .idea
This commit is contained in:
@@ -25,7 +25,14 @@
|
||||
<p>Tabletop utility cockpit</p>
|
||||
</div>
|
||||
<div class="header-group context">
|
||||
<p><strong>@User!.DisplayName</strong> <span class="muted">(@User.Username)</span></p>
|
||||
@if (User is null)
|
||||
{
|
||||
<p><strong>Loading user...</strong></p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p><strong>@User.DisplayName</strong> <span class="muted">(@User.Username)</span></p>
|
||||
}
|
||||
<p>Campaign: <strong>@(SelectedCampaignName ?? "No campaign selected")</strong></p>
|
||||
<p>Active: <strong>@(ActiveCharacterName ?? "None selected")</strong></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user