diff --git a/ContactsApp.Controls/EditContactControl.razor b/ContactsApp.Controls/EditContactControl.razor
index f48e6eb..67b0901 100644
--- a/ContactsApp.Controls/EditContactControl.razor
+++ b/ContactsApp.Controls/EditContactControl.razor
@@ -88,13 +88,19 @@ else
/// A .
protected override async Task OnParametersSetAsync()
{
- Service.SetUser(User);
- Busy = true; // start async
+ //Busy = true; // start async
Contact = await Service.Repo.LoadAsync(ContactId, null, true);
Busy = false; // end async
+
await base.OnInitializedAsync();
}
+ public override async Task SetParametersAsync(ParameterView parameters)
+ {
+ Busy = true;
+ await base.SetParametersAsync(parameters);
+ }
+
///
/// Result of form validation.
///