ComboboxItemSelector.razor improvements, fixes, etc...

This commit is contained in:
Loretta 2024-08-29 18:01:30 +02:00
parent 07ea4678e1
commit d872382f19
1 changed files with 2 additions and 2 deletions

View File

@ -120,15 +120,15 @@ namespace AyCode.Blazor.Components.Services
{
return GetAllAsync<List<T>>(messageTag, response =>
{
intoList.Clear();
if (response.Status != SignalResponseStatus.Success || response.ResponseData == null)
{
Logger.Error($"GetAllIntoAsync<{typeof(T).Name}>(); status: {response.Status}; dataCount: {response.ResponseData?.Count}; {ConstHelper.NameByValue(TagsName, messageTag)};");
return Task.CompletedTask;
}
intoList.Clear();
intoList.AddRange(response.ResponseData);
return Task.CompletedTask;
}, contextParams);
}