This commit is contained in:
mmrbnjd
2024-04-19 03:23:30 +03:30
parent 77e004d090
commit f4668f8f4d
7 changed files with 158 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
@page "/Panel"
@using Front.Services
@inject localService localserv;
@inject NavigationManager nav
<h3>Panel</h3>
@* @layout null *@
@code {
protected override async Task OnInitializedAsync()
{
if (!await localserv.OnlineUser())
nav.NavigateTo("/");
await base.OnInitializedAsync();
}
}