Rework multiple select list
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 46s

This commit is contained in:
2025-04-13 23:41:37 +02:00
parent bef0a0cc7e
commit 879be55442
24 changed files with 257 additions and 99 deletions

View File

@@ -1,15 +1,25 @@
using GameIdeas.BlazorApp.Pages.Games.Gateways;
using GameIdeas.BlazorApp.Shared.Components.Popup;
using GameIdeas.BlazorApp.Shared.Models;
using GameIdeas.Shared.Dto;
using Microsoft.AspNetCore.Components;
namespace GameIdeas.BlazorApp.Pages.Games;
public partial class GameBase ()
{
[Inject] private IGameGateway GameGateway { get; set; } = default!;
private DisplayType DisplayType = DisplayType.List;
private GameFilterDto GameFilter = new();
private Popup? ManualAddPopup;
private CategoriesDto? Categories;
protected override async Task OnInitializedAsync()
{
Categories = await GameGateway.FetchCategories();
await base.OnInitializedAsync();
}
private void HandleAddClicked(AddType addType)
{
switch (addType)