diff --git a/IGP/PageLayout.razor b/IGP/PageLayout.razor index 71a8d3e..9321d4e 100644 --- a/IGP/PageLayout.razor +++ b/IGP/PageLayout.razor @@ -48,7 +48,7 @@ Database - + Data Tables - + @@ -20,7 +20,7 @@ - + @@ -30,7 +30,9 @@ What is this tool? - This tool is a data table of all information belonging to a type of data. Such as viewing all weapons, so one can easily sort and see what weapon attack has the highest range, and what faction and unit that attack belongs to. + This tool is a data table of all information belonging to a type of data. Such as viewing all weapons, + so one can easily sort and see what weapon attack has the highest range, and what faction and unit that + attack belongs to. diff --git a/IGP/Pages/DataTables/Parts/MovementTable.razor b/IGP/Pages/DataTables/Parts/MovementTable.razor index 7268247..1eb5b5c 100644 --- a/IGP/Pages/DataTables/Parts/MovementTable.razor +++ b/IGP/Pages/DataTables/Parts/MovementTable.razor @@ -1,19 +1,21 @@ - - + @code { - IEnumerable _data = DATA.Get() + + readonly IEnumerable _data = DATA.Get() .SelectMany(e => e.Value.EntityParts) .OfType() .ToList(); + } \ No newline at end of file diff --git a/IGP/Pages/DataTables/Parts/ProductionTable.razor b/IGP/Pages/DataTables/Parts/ProductionTable.razor index 465e2ab..79b6286 100644 --- a/IGP/Pages/DataTables/Parts/ProductionTable.razor +++ b/IGP/Pages/DataTables/Parts/ProductionTable.razor @@ -1,5 +1,5 @@ - @@ -18,4 +18,5 @@ .SelectMany(e => e.Value.EntityParts) .OfType() .ToList(); + } \ No newline at end of file diff --git a/IGP/Pages/DataTables/Parts/VitalityTable.razor b/IGP/Pages/DataTables/Parts/VitalityTable.razor index b60540a..6c928eb 100644 --- a/IGP/Pages/DataTables/Parts/VitalityTable.razor +++ b/IGP/Pages/DataTables/Parts/VitalityTable.razor @@ -1,23 +1,25 @@ - - - - - - + + + + + @code { - IEnumerable _data = DATA.Get() + + readonly IEnumerable _data = DATA.Get() .SelectMany(e => e.Value.EntityParts) .OfType() .ToList(); + } \ No newline at end of file diff --git a/IGP/Pages/DataTables/Parts/WeaponTable.razor b/IGP/Pages/DataTables/Parts/WeaponTable.razor index 725ac4c..72f7998 100644 --- a/IGP/Pages/DataTables/Parts/WeaponTable.razor +++ b/IGP/Pages/DataTables/Parts/WeaponTable.razor @@ -1,5 +1,5 @@ - @@ -17,13 +17,15 @@ - + @code { - IEnumerable _data = DATA.Get() + + readonly IEnumerable _data = DATA.Get() .SelectMany(e => e.Value.EntityParts) .OfType() .ToList(); + } \ No newline at end of file diff --git a/IGP/Pages/Database/DatabasePage.razor b/IGP/Pages/Database/DatabasePage.razor index dddf939..ed7449f 100644 --- a/IGP/Pages/Database/DatabasePage.razor +++ b/IGP/Pages/Database/DatabasePage.razor @@ -1,7 +1,6 @@ @layout PageLayout @inherits BasePage @page "/database" - @using Model @implements IDisposable diff --git a/IGP/Pages/Database/DatabaseSinglePage.razor b/IGP/Pages/Database/DatabaseSinglePage.razor index 9a80f6e..82c0282 100644 --- a/IGP/Pages/Database/DatabaseSinglePage.razor +++ b/IGP/Pages/Database/DatabaseSinglePage.razor @@ -5,7 +5,6 @@ @page "/database/{text}" @inject IEntityDisplayService EntityDisplayService - @using Model @implements IDisposable diff --git a/IGP/Program.cs b/IGP/Program.cs index 717ce85..064d573 100644 --- a/IGP/Program.cs +++ b/IGP/Program.cs @@ -80,7 +80,6 @@ builder.Services.AddScoped(sp => new HttpClient builder.Services.AddMudServices(); - await builder.Build().RunAsync();