diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor index 33f7a141a..9649cee2d 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor @@ -13,10 +13,10 @@ @Localizer.SimpleAppLocalization(nameof(Translation.ShipSelectionWindow_TierFilter)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_All)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_None)) @@ -26,7 +26,7 @@ { int tier = i; bool isSelected = ViewModel!.SelectedTiers.Contains(tier); - + @tier.ToTierString() } @@ -36,10 +36,10 @@ @Localizer.SimpleAppLocalization(nameof(Translation.ShipSelectionWindow_ClassFilter)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_All)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_None)) @@ -48,7 +48,7 @@ @foreach (var shipClass in ViewModel!.AvailableClasses) { bool isSelected = ViewModel.SelectedClasses.Contains(shipClass); - + @Localizer.GetAppLocalization(shipClass.ShipClassToString()).Localization } @@ -58,10 +58,10 @@ @Localizer.SimpleAppLocalization(nameof(Translation.ShipSelectionWindow_NationFilter)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_All)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_None)) @@ -70,7 +70,7 @@ @foreach (var nation in ViewModel!.AvailableNations) { bool isSelected = ViewModel.SelectedNations.Contains(nation); - + @Localizer.GetAppLocalization(nation.ShipNationToString()).Localization } @@ -80,10 +80,10 @@ @Localizer.SimpleAppLocalization(nameof(Translation.ShipSelectionWindow_TypeFilter)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_All)) - + @Localizer.SimpleAppLocalization(nameof(Translation.ShipComparison_None)) @@ -92,7 +92,7 @@ @foreach (var category in ViewModel!.AvailableShipCategories) { bool isSelected = ViewModel.SelectedCategories.Contains(category); - + @Localizer.GetAppLocalization(category.ShipCategoryToString()).Localization } @@ -120,7 +120,7 @@ { int tier = i; bool isSelected = ViewModel!.SelectedTiers.Contains(tier); - + @tier.ToTierString() } @@ -129,7 +129,7 @@ @foreach (var shipClass in ViewModel!.AvailableClasses) { bool isSelected = ViewModel.SelectedClasses.Contains(shipClass); - + @Localizer.GetAppLocalization(shipClass.ShipClassToString()).Localization } @@ -138,7 +138,7 @@ @foreach (var nation in ViewModel!.AvailableNations) { bool isSelected = ViewModel.SelectedNations.Contains(nation); - + @Localizer.GetAppLocalization(nation.ShipNationToString()).Localization } @@ -147,7 +147,7 @@ @foreach (var category in ViewModel!.AvailableShipCategories) { bool isSelected = ViewModel.SelectedCategories.Contains(category); - + @Localizer.GetAppLocalization(category.ShipCategoryToString()).Localization } @@ -203,11 +203,6 @@ return active ? Variant.Filled : Variant.Outlined; } - private static Color GetColorFromBool(bool active) - { - return active ? Color.Primary : Color.Secondary; - } - private async Task ToggleTierSelection(int tier, MouseEventArgs args) { if (args.Button == 2) diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AaDefenseFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AaDefenseFragment.razor index 5c0ac1bb7..98d4b2a3e 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AaDefenseFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AaDefenseFragment.razor @@ -33,9 +33,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -50,9 +48,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -67,9 +63,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -84,9 +78,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -101,9 +93,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -118,9 +108,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -135,9 +123,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -152,9 +138,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -169,9 +153,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -186,9 +168,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -203,11 +183,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AerialTorpedoesFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AerialTorpedoesFragment.razor index 592d8b291..94612396f 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AerialTorpedoesFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AerialTorpedoesFragment.razor @@ -49,9 +49,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -75,9 +73,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -101,9 +97,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -127,9 +121,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -153,9 +145,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -179,9 +169,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -205,9 +193,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -231,9 +217,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -257,9 +241,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -283,9 +265,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -309,9 +289,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -335,9 +313,7 @@ } else if (classes is null && !context.Item.TorpedoBombers.WeaponDamage.Any()) { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } else if (classes is not null) { @@ -356,11 +332,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AirStrikeFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AirStrikeFragment.razor index 852325492..dd1435063 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AirStrikeFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AirStrikeFragment.razor @@ -40,9 +40,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -57,9 +55,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -74,9 +70,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -91,9 +85,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -108,9 +100,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -125,9 +115,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -142,9 +130,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -159,9 +145,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -176,9 +160,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -193,9 +175,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -210,9 +190,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -227,9 +205,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -244,9 +220,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -261,9 +235,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -278,11 +250,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ApShellFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ApShellFragment.razor index b537d56b2..b4e561fc2 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ApShellFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ApShellFragment.razor @@ -38,9 +38,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -55,9 +53,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -72,9 +68,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -89,9 +83,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -106,9 +98,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -123,9 +113,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -140,9 +128,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -157,9 +143,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -174,9 +158,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -191,9 +173,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -208,9 +188,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -225,11 +203,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AswFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AswFragment.razor index 1af2df3ad..682b1e564 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AswFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/AswFragment.razor @@ -40,9 +40,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -57,9 +55,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -74,9 +70,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -91,9 +85,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -108,9 +100,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -125,9 +115,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -142,9 +130,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -159,9 +145,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -176,9 +160,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -193,9 +175,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -210,9 +190,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -227,9 +205,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -244,9 +220,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -261,9 +235,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -278,11 +250,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombersFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombersFragment.razor index be69b1602..51184d2fe 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombersFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombersFragment.razor @@ -59,9 +59,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -85,9 +83,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -111,9 +107,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -137,9 +131,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -163,9 +155,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -189,9 +179,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -215,9 +203,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -241,9 +227,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -267,9 +251,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -293,9 +275,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -319,9 +299,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -345,9 +323,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -371,9 +347,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -397,9 +371,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -423,9 +395,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -449,9 +419,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -475,9 +443,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -501,9 +467,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -527,9 +491,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -553,9 +515,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -579,9 +539,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -605,9 +563,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -631,9 +587,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -657,9 +611,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -683,9 +635,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -709,11 +659,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombsFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombsFragment.razor index 307470738..1f29e0d23 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombsFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/BombsFragment.razor @@ -48,9 +48,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -75,9 +73,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -101,9 +97,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -127,9 +121,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -153,9 +145,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -176,9 +166,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -188,9 +176,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -211,9 +197,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -223,9 +207,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -246,9 +228,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -258,9 +238,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -281,9 +259,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -293,9 +269,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -316,9 +290,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -328,9 +300,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -351,9 +321,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -363,9 +331,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -386,9 +352,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } if (i < items.Count - 1) { @@ -398,11 +362,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ConcealmentFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ConcealmentFragment.razor index 210725916..4e090efa8 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ConcealmentFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ConcealmentFragment.razor @@ -27,9 +27,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -44,9 +42,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -61,9 +57,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -78,9 +72,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -95,9 +87,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -112,11 +102,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/HeShellFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/HeShellFragment.razor index 41f66ed10..588122e67 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/HeShellFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/HeShellFragment.razor @@ -37,9 +37,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -54,9 +52,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -71,9 +67,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -88,9 +82,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -105,9 +97,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -122,9 +112,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -139,9 +127,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -156,9 +142,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -173,9 +157,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -190,9 +172,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -207,9 +187,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -224,11 +202,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/MainBatteryFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/MainBatteryFragment.razor index 2acfe6b2f..4934982a7 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/MainBatteryFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/MainBatteryFragment.razor @@ -49,9 +49,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -66,9 +64,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -83,9 +79,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -100,9 +94,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -117,9 +109,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -134,9 +124,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -151,9 +139,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -168,9 +154,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -185,9 +169,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -203,9 +185,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -220,9 +200,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -237,9 +215,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -254,9 +230,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -271,9 +245,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -288,9 +260,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -305,9 +275,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -322,11 +290,9 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } }; -} \ No newline at end of file +} diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ManeuverabilityFragment.razor b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ManeuverabilityFragment.razor index 97028b45a..539da4726 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ManeuverabilityFragment.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/GridSections/ManeuverabilityFragment.razor @@ -38,9 +38,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -55,9 +53,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -72,9 +68,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -89,9 +83,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -106,9 +98,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -123,9 +113,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -140,9 +128,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -157,9 +143,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -174,9 +158,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -191,9 +173,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -208,9 +188,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -225,9 +203,7 @@ } else { - - @ShipComparisonViewModel.DataNotAvailable - + @UtilityFragments.DataNotAvailableFragment } @@ -236,4 +212,4 @@