Move things around

This commit is contained in:
2025-10-19 19:24:34 +09:00
parent 96572d7741
commit 772344649f
4 changed files with 5 additions and 4 deletions

View File

@ -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();
}
}
}

View File

@ -1,5 +1,6 @@
@page "/management/users"
@using Hcs.WebApp.Components.Dialogs
@using Hcs.WebApp.Services
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Identity