27 lines
692 B
Plaintext
27 lines
692 B
Plaintext
<h3>ProspectGrid</h3>
|
|
|
|
@code {
|
|
|
|
[Parameter] public List<Prospect>? Prospects { get; set; }
|
|
|
|
[Parameter] public Func<Guid, Task>? OnRemoveInteraction { get; set; }
|
|
|
|
[Parameter] public AddInteractionModal InteractionModal { get; set; } = null!;
|
|
|
|
[Parameter] public ProspectStateFilter StateFilter { get; set; }
|
|
|
|
}
|
|
<h5>@(Prospects?.Count ?? 0) Einträge</h5>
|
|
|
|
@if (Prospects?.Any() == true)
|
|
{
|
|
<div class="row m-0">
|
|
<Repeater Items="@Prospects">
|
|
<ProspectContainer
|
|
Prospect="context"
|
|
InteractionModal="@InteractionModal"
|
|
RemoveInteraction="OnRemoveInteraction"
|
|
StateFilter="StateFilter"></ProspectContainer>
|
|
</Repeater>
|
|
</div>
|
|
} |