[sln] Code cleanup
This commit is contained in:
parent
91aab7c8d6
commit
ff425b6439
4 changed files with 10 additions and 15 deletions
|
@ -1,6 +1,5 @@
|
|||
@inject IOptions<Config.InstanceSection> Instance
|
||||
@using Iceshrimp.Backend.Core.Configuration
|
||||
@using Iceshrimp.Backend.Core.Database.Tables
|
||||
@using Microsoft.Extensions.Options
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@using Iceshrimp.Frontend.Components
|
||||
@using Microsoft.AspNetCore.Components.Authorization
|
||||
<ErrorBoundary @ref="ErrorBoundary">
|
||||
<ErrorBoundary>
|
||||
<ChildContent>
|
||||
<Router AppAssembly="@typeof(App).Assembly">
|
||||
<Found Context="routeData">
|
||||
|
@ -23,8 +23,4 @@
|
|||
<ErrorContent Context="Exception">
|
||||
<ErrorUi Exception="Exception"></ErrorUi>
|
||||
</ErrorContent>
|
||||
</ErrorBoundary>
|
||||
|
||||
@code {
|
||||
private ErrorBoundary? ErrorBoundary { get; set; }
|
||||
}
|
||||
</ErrorBoundary>
|
|
@ -9,7 +9,4 @@
|
|||
@if (ComponentState is Core.Miscellaneous.State.Empty)
|
||||
{
|
||||
<div>No posts here yet! Go find someone to follow!</div>
|
||||
}
|
||||
|
||||
@code {
|
||||
}
|
|
@ -183,11 +183,14 @@
|
|||
private Menu MenuFilterAction { get; set; } = null!;
|
||||
private Menu MenuFilterContexts { get; set; } = null!;
|
||||
private List<FilterResponse.FilterContext> FilterContexts { get; } = [];
|
||||
private StateButton ButtonAddFilter { get; set; } = null!;
|
||||
private bool _filterNameInvalid;
|
||||
private bool _filterKeywordsInvalid;
|
||||
private bool _filterExpiryInvalid;
|
||||
private bool _filterContextsInvalid;
|
||||
|
||||
// ReSharper disable once UnusedAutoPropertyAccessor.Local, Justification: this is still work in progress
|
||||
private StateButton ButtonAddFilter { get; set; } = null!;
|
||||
|
||||
private bool _filterNameInvalid;
|
||||
private bool _filterKeywordsInvalid;
|
||||
private bool _filterExpiryInvalid;
|
||||
private bool _filterContextsInvalid;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue