diff --git a/ReplayBrowser/Pages/Account/Admin.razor b/ReplayBrowser/Pages/Account/Admin.razor index 3747824..dfedac5 100644 --- a/ReplayBrowser/Pages/Account/Admin.razor +++ b/ReplayBrowser/Pages/Account/Admin.razor @@ -4,10 +4,13 @@ @using Microsoft.AspNetCore.Components.Authorization @using ReplayBrowser.Data.Models.Account @using ReplayBrowser.Services +@using Microsoft.AspNetCore.Components.Web @inject AuthenticationStateProvider AuthenticationStateProvider @inject AccountService AccountService @attribute [Authorize] +Admin +

Listing all accounts:

@if (_isNotAdmin) { diff --git a/ReplayBrowser/Pages/Account/Logs.razor b/ReplayBrowser/Pages/Account/Logs.razor index d9797f0..53efa9b 100644 --- a/ReplayBrowser/Pages/Account/Logs.razor +++ b/ReplayBrowser/Pages/Account/Logs.razor @@ -4,11 +4,14 @@ @using Microsoft.AspNetCore.Components.Authorization @using ReplayBrowser.Data @using ReplayBrowser.Services +@using Microsoft.AspNetCore.Components.Web @inject AuthenticationStateProvider AuthenticationStateProvider @inject AccountService AccountService @inject NavigationManager NavigationManager @attribute [Authorize] +Logs +

Logs