fix(dashboard): few admin bug fixes (#11655)
**What** - OE id bug - prevent canceling shipped/delivered fulfillment --- CLOSES CMRC-935 CLOSES CMRC-938
This commit is contained in:
@@ -131,7 +131,7 @@ export const useCancelOrderEdit = (
|
||||
})
|
||||
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ordersQueryKeys.lineItems(id),
|
||||
queryKey: ordersQueryKeys.lineItems(orderId),
|
||||
})
|
||||
options?.onSuccess?.(data, variables, context)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user