Rename InteractionDialog
This commit is contained in:
@@ -19,7 +19,7 @@ namespace FoodsharingSiegen.Server.Controls
|
||||
private async Task AddInteraction(InteractionType type)
|
||||
{
|
||||
if (Prospect != null && OnDataChanged != null)
|
||||
await AddInteractionModal.ShowAsync(ModalService, OnDataChanged, type, Prospect.Id);
|
||||
await InteractionDialog.ShowAsync(ModalService, OnDataChanged, type, Prospect.Id);
|
||||
}
|
||||
|
||||
private List<Interaction> GetTyped(InteractionType type)
|
||||
|
||||
@@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace FoodsharingSiegen.Server.Dialogs
|
||||
{
|
||||
public partial class AddInteractionModal : FsBase
|
||||
public partial class InteractionDialog : FsBase
|
||||
{
|
||||
#region Dependencies
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace FoodsharingSiegen.Server.Dialogs
|
||||
ProspectID = prospectId
|
||||
};
|
||||
|
||||
await modalService.Show<AddInteractionModal>(headerText, parameter =>
|
||||
await modalService.Show<InteractionDialog>(headerText, parameter =>
|
||||
{
|
||||
parameter.Add(nameof(Interaction), interaction);
|
||||
parameter.Add(nameof(ShowInfo), showInfo);
|
||||
@@ -31,11 +31,6 @@ namespace FoodsharingSiegen.Server.Pages
|
||||
|
||||
private ProspectFilter Filter { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the interaction modal (ab)
|
||||
/// </summary>
|
||||
private AddInteractionModal? InteractionModal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the prospect list (ab)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user