silent onlyadmin
This commit is contained in:
parent
e196326d9e
commit
e41a64a164
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
{
|
||||
@ChildContent
|
||||
}
|
||||
else
|
||||
else if(!Silent)
|
||||
{
|
||||
<div class="alert alert-danger">
|
||||
<TL>Missing admin permissions. This attempt has been logged ;)</TL>
|
||||
|
@ -22,4 +22,7 @@
|
|||
|
||||
[CascadingParameter]
|
||||
public User? User { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public bool Silent { get; set; } = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue