Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add success callbacks
dominik-zeglen53bee1cf6b0b
diff --git a/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx b/saleor/static/dashboard-next/orders/containers/OrderOperations.tsxindex c046360110..7372456364 100644--- a/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx+++ b/saleor/static/dashboard-next/orders/containers/OrderOperations.tsx@@ -74,13 +74,15 @@ const OrderOperations: React.StatelessComponent<OrderOperationsProps> = ({onError,onFulfillmentCreate,onNoteAdd,+ onOrderCancel,+ onOrderRelease,onPaymentCapture,onPaymentRefund,onUpdate}) => (- <OrderReleaseMutationProvider>+ <OrderReleaseMutationProvider onError={onError} onSuccess={onOrderRelease}>{orderRelease => (- <OrderCancelMutationProvider>+ <OrderCancelMutationProvider onError={onError} onSuccess={onOrderCancel}>{orderCancel => (<OrderPaymentCaptureProviderid={order}