Moved enums to a dedicated namespace and updated references across the codebase. Renamed the `Info` field in the `Interaction` entity to `Info1`, including necessary migrations and UI adjustments. These changes improve the organization and consistency of the codebase.
23 lines
561 B
Plaintext
23 lines
561 B
Plaintext
@using FoodsharingSiegen.Contracts.Enums
|
|
@code {
|
|
|
|
[Parameter] public List<Prospect>? Prospects { get; set; }
|
|
|
|
[Parameter] public ProspectStateFilter StateFilter { get; set; }
|
|
|
|
[Parameter] public Func<Task>? OnDataChanged { get; set; }
|
|
|
|
}
|
|
<h5>@(Prospects?.Count ?? 0) Einträge</h5>
|
|
|
|
@if (Prospects?.Any() == true)
|
|
{
|
|
<div class="row m-0">
|
|
<Repeater Items="@Prospects">
|
|
<ProspectContainer
|
|
Prospect="context"
|
|
OnDataChanged="@OnDataChanged"
|
|
StateFilter="StateFilter"></ProspectContainer>
|
|
</Repeater>
|
|
</div>
|
|
} |