фикс
This commit is contained in:
parent
27bd7178b1
commit
2036d05b3a
@ -91,8 +91,11 @@ namespace LawFirmFileImplement.Models
|
||||
Adress = model.Adress;
|
||||
OpeningDate = model.OpeningDate;
|
||||
MaxCountDocuments = model.MaxCountDocuments;
|
||||
Documents = model.ShopDocuments.ToDictionary(x => x.Key, x => x.Value.Item2);
|
||||
_shopDocuments = null;
|
||||
if (model.ShopDocuments.Count > 0)
|
||||
{
|
||||
Documents = model.ShopDocuments.ToDictionary(x => x.Key, x => x.Value.Item2);
|
||||
_shopDocuments = null;
|
||||
}
|
||||
}
|
||||
public ShopViewModel GetViewModel => new()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user