ComboboxItemSelector.razor improvements, fixes, etc...
This commit is contained in:
parent
07ea4678e1
commit
d872382f19
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue