Skip to content

Commit

Permalink
Filter the ball selection, fixes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Nov 26, 2024
1 parent e8102c9 commit fb8174f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pkmds.Web/Components/EditForms/Tabs/MetTab.razor
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ AppState.SelectedSlotsAreValid)
Variant="@Variant.Outlined"
@bind-Value="@Pokemon.Ball"
For="@(() => Pokemon.Ball)">
@foreach (ComboItem ball in GameInfo.BallDataSource.DistinctBy(ball => ball.Value))
@foreach (ComboItem ball in GameInfo.FilteredSources.Balls.DistinctBy(ball => ball.Value))
{
<MudSelectItem Value="@((byte)ball.Value)"
@key="@ball.Value">
Expand Down

0 comments on commit fb8174f

Please sign in to comment.