fix
This commit is contained in:
parent
4900dfb2c4
commit
354a22d31d
|
|
@ -234,6 +234,7 @@
|
|||
{
|
||||
_companyToSetOwner.OwnerId = userModelDto.Id;
|
||||
var result = await serviceProviderDataService.UpdateServiceProviderAsync(_companyToSetOwner);
|
||||
_setOwnerPopupVisible = false;
|
||||
_companyToSetOwner = null;
|
||||
return result;
|
||||
}
|
||||
|
|
@ -318,8 +319,9 @@
|
|||
_logger.Detail($"OnProductGridItemSaving");
|
||||
|
||||
var company = _productDetailGridComponent!.ParentData as Company;
|
||||
if (company == null || company.OwnerId.IsNullOrEmpty())
|
||||
if (company == null || company.OwnerId.IsNullOrEmpty())
|
||||
{
|
||||
e.Cancel = true;
|
||||
_logger.Error($"OnProductGridItemSaving; company == null || company.OwnerId.IsNullOrEmpty(); company.OwnerId: {company?.OwnerId}");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue