InteractionModal umstellen

This commit is contained in:
Andre Beging
2025-03-28 19:22:51 +01:00
parent d754da76cd
commit 91bff3c127
8 changed files with 205 additions and 235 deletions

View File

@@ -3,12 +3,10 @@
@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; }
[Parameter] public Func<Task>? OnDataChanged { get; set; }
}
<h5>@(Prospects?.Count ?? 0) Einträge</h5>
@@ -19,8 +17,7 @@
<Repeater Items="@Prospects">
<ProspectContainer
Prospect="context"
InteractionModal="@InteractionModal"
RemoveInteraction="OnRemoveInteraction"
OnDataChanged="@OnDataChanged"
StateFilter="StateFilter"></ProspectContainer>
</Repeater>
</div>