исправил ошибку
This commit is contained in:
parent
673afcf2b1
commit
ab8e909b08
@ -121,11 +121,13 @@ export class OrdersComponent implements OnInit {
|
||||
// transaction.HasPurchase = same;
|
||||
// return same;
|
||||
// });
|
||||
purchase.more_info =
|
||||
purchasesInfo.find(
|
||||
(purchaseInfo: PurchaseInfo) =>
|
||||
Number(purchaseInfo.number) === purchase.orderNumber
|
||||
) || null;
|
||||
if (purchasesInfo) {
|
||||
purchase.more_info =
|
||||
purchasesInfo.find(
|
||||
(purchaseInfo: PurchaseInfo) =>
|
||||
Number(purchaseInfo.number) === purchase.orderNumber
|
||||
) || null;
|
||||
}
|
||||
return purchase;
|
||||
})
|
||||
.filter((purchase: Purchase) =>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user