Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Stop displaying warning about shipping method if its applied
dominik-zeglenf504d5bf2332
diff --git a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsxindex bbf5af93b3..da48339db5 100644--- a/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderDetails/index.tsx@@ -73,7 +73,8 @@ const orderDraftFinalizeWarnings = (order: OrderDetails_order) => {if (order &&order.lines &&- order.lines.filter(line => line.isShippingRequired).length > 0+ order.lines.filter(line => line.isShippingRequired).length > 0 &&+ order.shippingMethod === null) {warnings.push("no-shipping-method");}