Disable Reply Button When From
is System
or Emtpy
This commit is contained in:
@ -81,7 +81,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (title == "From")
|
if (title == "From" && !string.IsNullOrWhiteSpace(username) && username != "System")
|
||||||
{
|
{
|
||||||
<button type="button" class="btn btn-primary" @onclick="Reply">@Localizer["Reply"]</button>
|
<button type="button" class="btn btn-primary" @onclick="Reply">@Localizer["Reply"]</button>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user