Rework multiple select list
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 46s
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 46s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user