fix(adminui): gate Galaxy picker so it doesn't clobber alias FullName on edit; refresh gateways (review)

This commit is contained in:
Joseph Doherty
2026-06-11 21:45:55 -04:00
parent d19271fff8
commit 299eaa461c
2 changed files with 13 additions and 9 deletions
@@ -82,14 +82,17 @@
<ValidationMessage For="@(() => _form.FullName)" />
</div>
<DriverTagPicker @bind-Visible="_showPicker"
Title="Galaxy address"
CurrentAddress="@_form.FullName"
OnPickAddress="@OnAddressPicked">
<GalaxyAddressPickerBody CurrentAddress="@_form.FullName"
CurrentAddressChanged="@((s) => _form.FullName = s)"
GetConfigJson="@(() => _selectedGatewayConfig)" />
</DriverTagPicker>
@if (_showPicker)
{
<DriverTagPicker @bind-Visible="_showPicker"
Title="Galaxy address"
CurrentAddress="@_form.FullName"
OnPickAddress="@OnAddressPicked">
<GalaxyAddressPickerBody CurrentAddress="@_form.FullName"
CurrentAddressChanged="@((s) => _form.FullName = s)"
GetConfigJson="@(() => _selectedGatewayConfig)" />
</DriverTagPicker>
}
@if (!string.IsNullOrWhiteSpace(_error))
{