u
This commit is contained in:
@@ -398,7 +398,7 @@ export class OrderPaymentList extends PureComponent {
|
||||
extractAllPayments(orders = this.state.items) {
|
||||
const list = [];
|
||||
for (const order of orders) {
|
||||
if (!Array.isArray(order.payments)) continue;
|
||||
if (!order || !Array.isArray(order.payments)) continue;
|
||||
for (const pay of order.payments) {
|
||||
list.push({
|
||||
...pay,
|
||||
|
||||
Reference in New Issue
Block a user