diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor index c096452d2..33f7a141a 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/ComparisonShipFilter.razor @@ -119,7 +119,7 @@ @for (int i = TiersRange.First(); i <= TiersRange.Last(); i++) { int tier = i; - bool isSelected = ViewModel.SelectedTiers.Contains(tier); + bool isSelected = ViewModel!.SelectedTiers.Contains(tier); @tier.ToTierString() diff --git a/WoWsShipBuilder.Common/Features/ShipComparison/ShipComparison.razor b/WoWsShipBuilder.Common/Features/ShipComparison/ShipComparison.razor index 9747ffe18..928f30f8e 100644 --- a/WoWsShipBuilder.Common/Features/ShipComparison/ShipComparison.razor +++ b/WoWsShipBuilder.Common/Features/ShipComparison/ShipComparison.razor @@ -55,7 +55,8 @@ @if (ViewModel is not null) { - +
+ if (!string.IsNullOrEmpty(ViewModel.ResearchedShip)) { @@ -65,7 +66,7 @@ - @(LocalizeShipName(ship.Index)) + @LocalizeShipName(ship.Index)