Move things around
This commit is contained in:
@ -58,7 +58,7 @@
|
||||
</RadzenTabsItem>
|
||||
</Tabs>
|
||||
</RadzenTabs>
|
||||
<BusyDialog @ref=@busyDialog />
|
||||
<BusyOverlay @ref=@busyOverlay />
|
||||
|
||||
@code {
|
||||
sealed class PasswordInputModel
|
||||
@ -73,7 +73,7 @@
|
||||
bool hasError;
|
||||
string? errorMessage;
|
||||
bool hasSuccess;
|
||||
BusyDialog busyDialog;
|
||||
BusyOverlay busyOverlay;
|
||||
|
||||
[SupplyParameterFromForm]
|
||||
PasswordInputModel PasswordInput { get; set; } = new();
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
try
|
||||
{
|
||||
busyDialog.Show();
|
||||
busyOverlay.Show();
|
||||
|
||||
await IdentityService.ChangePassword(PasswordInput.OldPassword, PasswordInput.NewPassword);
|
||||
|
||||
@ -98,7 +98,7 @@
|
||||
}
|
||||
finally
|
||||
{
|
||||
busyDialog.Hide();
|
||||
busyOverlay.Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user