diff --git a/src/BUTR.Site.NexusMods.Client/Components/Grid/DataGridPaging.razor b/src/BUTR.Site.NexusMods.Client/Components/Grid/DataGridPaging.razor index 00883a40..19004352 100644 --- a/src/BUTR.Site.NexusMods.Client/Components/Grid/DataGridPaging.razor +++ b/src/BUTR.Site.NexusMods.Client/Components/Grid/DataGridPaging.razor @@ -15,7 +15,6 @@ PagerOptions="@(new DataGridPagerOptions { PaginationPosition = PagerElementPosition.Center, ButtonRowPosition = PagerElementPosition.Start, TotalItemsPosition = PagerElementPosition.End })" PageSizes="@PageSizes" Filterable="@Filterable" - CustomFilter="@OnCustomFilter" Sortable="@Sortable" Responsive Editable="@Editable" @@ -25,7 +24,8 @@ DataGridColumns="@DataGridColumns" ButtonRowTemplate="@ButtonRowTemplate" DetailRowTemplate="@DetailRowTemplate" - DetailRowTrigger="@DetailRowTrigger"> + DetailRowTrigger="@DetailRowTrigger" + FixedHeader="@FixedHeader"> @if (Metadata.TotalCount == 0) { @@ -63,6 +63,9 @@ [Parameter] public bool Sortable { get; set; } = false; + [Parameter] + public bool FixedHeader { get; set; } = false; + [Parameter(CaptureUnmatchedValues = true)] public Dictionary? AdditionalAttributes { get; set; } @@ -149,6 +152,4 @@ return GetPageSize?.Invoke(userSettings) ?? userSettings.PageSize; } - private static bool OnCustomFilter(TItem model) => true; - } \ No newline at end of file diff --git a/src/BUTR.Site.NexusMods.Client/Pages/Administration/QuartzManager.razor b/src/BUTR.Site.NexusMods.Client/Pages/Administration/QuartzManager.razor index 22bc1caf..cec0625f 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/Administration/QuartzManager.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/Administration/QuartzManager.razor @@ -34,7 +34,7 @@ - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/Moderator/AllowUserModuleId.razor b/src/BUTR.Site.NexusMods.Client/Pages/Moderator/AllowUserModuleId.razor index a2d36a60..9876e981 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/Moderator/AllowUserModuleId.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/Moderator/AllowUserModuleId.razor @@ -70,7 +70,7 @@ Allowed User Module Ids - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/Moderator/ManualModuleIdLink.razor b/src/BUTR.Site.NexusMods.Client/Pages/Moderator/ManualModuleIdLink.razor index 835a33e7..883a1f58 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/Moderator/ManualModuleIdLink.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/Moderator/ManualModuleIdLink.razor @@ -41,7 +41,7 @@ Manual Module Id Links - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/Tools/Articles.razor b/src/BUTR.Site.NexusMods.Client/Pages/Tools/Articles.razor index dafd6fbe..148e35bf 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/Tools/Articles.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/Tools/Articles.razor @@ -15,7 +15,7 @@ - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/Tools/ExposedMods.razor b/src/BUTR.Site.NexusMods.Client/Pages/Tools/ExposedMods.razor index 3d57cb5c..bf5b118b 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/Tools/ExposedMods.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/Tools/ExposedMods.razor @@ -10,7 +10,7 @@ Exposed Mods - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/User/AllowUserMod.razor b/src/BUTR.Site.NexusMods.Client/Pages/User/AllowUserMod.razor index 942d16a4..4fa3ccbc 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/User/AllowUserMod.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/User/AllowUserMod.razor @@ -70,7 +70,7 @@ Allowed Mods to Users - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/User/CrashReportsViewer.razor b/src/BUTR.Site.NexusMods.Client/Pages/User/CrashReportsViewer.razor index bdf60fca..b09c59cd 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/User/CrashReportsViewer.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/User/CrashReportsViewer.razor @@ -65,7 +65,7 @@ - + diff --git a/src/BUTR.Site.NexusMods.Client/Pages/User/Mods.razor b/src/BUTR.Site.NexusMods.Client/Pages/User/Mods.razor index 3c68bb63..41d5b946 100644 --- a/src/BUTR.Site.NexusMods.Client/Pages/User/Mods.razor +++ b/src/BUTR.Site.NexusMods.Client/Pages/User/Mods.razor @@ -33,7 +33,7 @@ Linked Mods - + @@ -67,7 +67,7 @@ Available Mods - + diff --git a/src/BUTR.Site.NexusMods.Client/Program.cs b/src/BUTR.Site.NexusMods.Client/Program.cs index efd0a083..7d75f22a 100644 --- a/src/BUTR.Site.NexusMods.Client/Program.cs +++ b/src/BUTR.Site.NexusMods.Client/Program.cs @@ -4,7 +4,6 @@ using Blazorise; using Blazorise.Bootstrap5; using Blazorise.Icons.FontAwesome; -using Blazorise.Localization; using BUTR.Site.NexusMods.Client.Extensions; using BUTR.Site.NexusMods.Client.Options; @@ -14,7 +13,6 @@ using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Microsoft.JSInterop;