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

View File

@ -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