InteractionModal umstellen
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user