Replace MSAL and custom cookie auth with Microsoft.Identity.EntityFramework Also some UI redesign to accommodate different login experience.
22 lines
325 B
Plaintext
22 lines
325 B
Plaintext
<p style="margin: 0">
|
|
@if (IsTurn)
|
|
{
|
|
<span>* </span>
|
|
}
|
|
|
|
@if (string.IsNullOrEmpty(Name))
|
|
{
|
|
<span>Empty Seat</span>
|
|
}
|
|
else
|
|
{
|
|
<span>@Name</span>
|
|
}
|
|
|
|
</p>
|
|
|
|
@code {
|
|
[Parameter][EditorRequired] public bool IsTurn { get; set; }
|
|
[Parameter][EditorRequired] public string Name { get; set; } = string.Empty;
|
|
}
|