silent onlyadmin

This commit is contained in:
Daniel Balk 2023-04-12 19:13:01 +02:00
parent e196326d9e
commit e41a64a164

View file

@ -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;
}