Do not let go back to fulfillment view after success
This commit is contained in:
parent
3922b315d5
commit
65b9dbc483
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const OrderFulfill: React.FC<OrderFulfillProps> = ({ orderId }) => {
|
|||
const [fulfillOrder, fulfillOrderOpts] = useOrderFulfill({
|
||||
onCompleted: data => {
|
||||
if (data.orderFulfill.errors.length === 0) {
|
||||
navigate(orderUrl(orderId));
|
||||
navigate(orderUrl(orderId), true);
|
||||
notify({
|
||||
text: intl.formatMessage({
|
||||
defaultMessage: "Fulfilled Items",
|
||||
|
|
Loading…
Reference in a new issue