CustomerForm A1
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m1s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m1s
This commit is contained in:
parent
0f4176a5b2
commit
0da0d7c829
@ -51,13 +51,13 @@
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
// await LoadAccountTypes();
|
||||
await LoadAccountTypes();
|
||||
|
||||
// if (CustomerId.HasValue)
|
||||
// {
|
||||
// // Cargar datos del cliente existente desde la API
|
||||
// customer = await _httpClient.GetFromJsonAsync<ECustomer>($"/api/Customer/GetById/{CustomerId.Value}") ?? new();
|
||||
// }
|
||||
if (CustomerId.HasValue)
|
||||
{
|
||||
// Cargar datos del cliente existente desde la API
|
||||
customer = await _httpClient.GetFromJsonAsync<ECustomer>($"/api/Customer/GetById/{CustomerId.Value}") ?? new();
|
||||
}
|
||||
}
|
||||
|
||||
private async Task LoadAccountTypes()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user