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