[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
|
@inject IOptions<Config.InstanceSection> Instance
|
||||||
@using Iceshrimp.Backend.Core.Configuration
|
@using Iceshrimp.Backend.Core.Configuration
|
||||||
@using Iceshrimp.Backend.Core.Database.Tables
|
|
||||||
@using Microsoft.Extensions.Options
|
@using Microsoft.Extensions.Options
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@using Iceshrimp.Frontend.Components
|
@using Iceshrimp.Frontend.Components
|
||||||
@using Microsoft.AspNetCore.Components.Authorization
|
@using Microsoft.AspNetCore.Components.Authorization
|
||||||
<ErrorBoundary @ref="ErrorBoundary">
|
<ErrorBoundary>
|
||||||
<ChildContent>
|
<ChildContent>
|
||||||
<Router AppAssembly="@typeof(App).Assembly">
|
<Router AppAssembly="@typeof(App).Assembly">
|
||||||
<Found Context="routeData">
|
<Found Context="routeData">
|
||||||
|
@ -24,7 +24,3 @@
|
||||||
<ErrorUi Exception="Exception"></ErrorUi>
|
<ErrorUi Exception="Exception"></ErrorUi>
|
||||||
</ErrorContent>
|
</ErrorContent>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
|
|
||||||
@code {
|
|
||||||
private ErrorBoundary? ErrorBoundary { get; set; }
|
|
||||||
}
|
|
|
@ -10,6 +10,3 @@
|
||||||
{
|
{
|
||||||
<div>No posts here yet! Go find someone to follow!</div>
|
<div>No posts here yet! Go find someone to follow!</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
@code {
|
|
||||||
}
|
|
|
@ -183,7 +183,10 @@
|
||||||
private Menu MenuFilterAction { get; set; } = null!;
|
private Menu MenuFilterAction { get; set; } = null!;
|
||||||
private Menu MenuFilterContexts { get; set; } = null!;
|
private Menu MenuFilterContexts { get; set; } = null!;
|
||||||
private List<FilterResponse.FilterContext> FilterContexts { get; } = [];
|
private List<FilterResponse.FilterContext> FilterContexts { get; } = [];
|
||||||
|
|
||||||
|
// ReSharper disable once UnusedAutoPropertyAccessor.Local, Justification: this is still work in progress
|
||||||
private StateButton ButtonAddFilter { get; set; } = null!;
|
private StateButton ButtonAddFilter { get; set; } = null!;
|
||||||
|
|
||||||
private bool _filterNameInvalid;
|
private bool _filterNameInvalid;
|
||||||
private bool _filterKeywordsInvalid;
|
private bool _filterKeywordsInvalid;
|
||||||
private bool _filterExpiryInvalid;
|
private bool _filterExpiryInvalid;
|
||||||
|
|
Loading…
Add table
Reference in a new issue