[frontend/components] Fix moderation settings on mobile
This commit is contained in:
parent
ce20f04e04
commit
04af2e2fb6
1 changed files with 8 additions and 1 deletions
|
@ -4,14 +4,21 @@
|
|||
@using Microsoft.AspNetCore.Authorization
|
||||
@using Microsoft.AspNetCore.Components.Sections
|
||||
@using Microsoft.Extensions.Localization
|
||||
@using Iceshrimp.Frontend.Components
|
||||
@attribute [Authorize(Roles = "moderator")]
|
||||
@layout ModerationLayout
|
||||
@inject IStringLocalizer<Localization> Loc;
|
||||
|
||||
<SectionContent SectionName="top-bar">
|
||||
<Icon Name="Icons.Shield"></Icon>
|
||||
@Loc["Moderation"]
|
||||
</SectionContent>
|
||||
<div class="layout">
|
||||
<div class="sidebar">
|
||||
<ModerationMenu/>
|
||||
</div>
|
||||
<div class="body">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
}
|
Loading…
Add table
Reference in a new issue