Skip to content

Commit 5a98233

Browse files
committed
Add page titles for admin pages
1 parent 86a9fc3 commit 5a98233

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ReplayBrowser/Pages/Account/Admin.razor

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
@using Microsoft.AspNetCore.Components.Authorization
55
@using ReplayBrowser.Data.Models.Account
66
@using ReplayBrowser.Services
7+
@using Microsoft.AspNetCore.Components.Web
78
@inject AuthenticationStateProvider AuthenticationStateProvider
89
@inject AccountService AccountService
910
@attribute [Authorize]
1011

12+
<PageTitle>Admin</PageTitle>
13+
1114
<h3>Listing all accounts:</h3>
1215
@if (_isNotAdmin)
1316
{

ReplayBrowser/Pages/Account/Logs.razor

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
@using Microsoft.AspNetCore.Components.Authorization
55
@using ReplayBrowser.Data
66
@using ReplayBrowser.Services
7+
@using Microsoft.AspNetCore.Components.Web
78
@inject AuthenticationStateProvider AuthenticationStateProvider
89
@inject AccountService AccountService
910
@inject NavigationManager NavigationManager
1011
@attribute [Authorize]
1112

13+
<PageTitle>Logs</PageTitle>
14+
1215
<h3>Logs</h3>
1316
<div class="search-bar">
1417
<div class="d-flex ms-auto">

0 commit comments

Comments
 (0)