Fix wrong comportment
All checks were successful
Game Ideas build for PR / build_test (pull_request) Successful in 1m9s

This commit is contained in:
Maxime Adler
2025-05-13 14:03:42 +02:00
parent 78e67796e5
commit ab773f8b71
6 changed files with 18 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
using GameIdeas.BlazorApp.Shared.Components.Select.Models;
using GameIdeas.BlazorApp.Shared.Components.Select;
using GameIdeas.BlazorApp.Shared.Components.Select.Models;
using GameIdeas.Resources;
using GameIdeas.Shared.Dto;
using Microsoft.AspNetCore.Components;
@@ -13,6 +14,7 @@ public class GameBase : ComponentBase
[Inject] public NavigationManager NavigationManager { get; set; } = default!;
protected SelectParams<DetailOptions, object> SelectParams = default!;
protected Select<DetailOptions, object>? SelectOption;
protected override void OnInitialized()
{
@@ -40,6 +42,8 @@ public class GameBase : ComponentBase
default:
break;
}
SelectOption?.Close();
}
private string GetDetailOptionsLabel(DetailOptions options)