diff --git a/packages/admin-next/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx b/packages/admin-next/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx index abd26f1fe5..526c9cca94 100644 --- a/packages/admin-next/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +++ b/packages/admin-next/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx @@ -168,26 +168,39 @@ export const OrderSummarySection = ({ order }: OrderSummarySectionProps) => { {(showAllocateButton || showReturns || showPayment || showRefund) && ( -
- {showReturns && ( - ({ - label: t("orders.returns.receive.receive", { - label: `#${r.id.slice(-7)}`, - }), - icon: , - to: `/orders/${order.id}/returns/${r.id}/receive`, - })), - }, - ]} - > - - - )} + ) : ( + ({ + label: t("orders.returns.receive.receive", { + label: `#${r.id.slice(-7)}`, + }), + icon: , + to: `/orders/${order.id}/returns/${r.id}/receive`, + })), + }, + ]} + > + + + ))} {showAllocateButton && (