@page "/done"

@using FoodsharingSiegen.Shared.Helper
@inherits FsBase

<PageTitle>Abgeschlossen - @AppSettings.Terms.Title</PageTitle>
<h2>Abgeschlossen</h2>

@{
    var filterList = ProspectList.ApplyFilter(Filter);
}

<hr />
<ProspectFilterControl @bind-Filter="Filter" StateFilter="ProspectStateFilter.Completed"></ProspectFilterControl>
<hr />
<ProspectGrid
    Prospects="filterList"
    OnDataChanged="@LoadProspects"
    StateFilter="ProspectStateFilter.Completed">
</ProspectGrid>