Skip to content

Commit

Permalink
Add missing api call to get order refunds (#415)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Castillo <[email protected]>
  • Loading branch information
tomrndom authored May 7, 2024
1 parent 3b2d2ca commit 8bf0953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/purchase-order-id-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PurchaseOrderIdLayout extends React.Component {
if (!newId) {
this.props.resetPurchaseOrderForm();
} else {
this.props.getPurchaseOrder(newId);
this.props.getPurchaseOrder(newId).then(() => this.props.getPurchaseOrderRefunds(newId));
}
}
}
Expand Down

0 comments on commit 8bf0953

Please sign in to comment.