Files
FoodsharingOnboarding/FoodsharingSiegen.Server/Pages/ProspectsAll.razor
Andre Beging 83257d1d2a Add "All" prospects view and refine filtering logic
Introduced a new "All" prospects page for admins to view and manage all prospects. Removed unused "Users" list and related logic from code. Updated filters to support the new "All" state and adjusted navigation to include the new page.
2025-03-28 20:50:15 +01:00

21 lines
477 B
Plaintext

@page "/all"
@using FoodsharingSiegen.Shared.Helper
@inherits FsBase
<PageTitle>Freischalten - @AppSettings.Terms.Title</PageTitle>
<h2>Freischalten</h2>
@{
var filterList = ProspectList.ApplyFilter(Filter);
}
<hr/>
<ProspectFilterControl @bind-Filter="Filter" StateFilter="ProspectStateFilter.All"></ProspectFilterControl>
<hr />
<ProspectGrid
Prospects="filterList"
OnDataChanged="@LoadProspects"
StateFilter="ProspectStateFilter.All">
</ProspectGrid>