diff --git a/app/konto/bestellungen/[orderNumber]/page.tsx b/app/konto/bestellungen/[orderNumber]/page.tsx index 5f2f945..ca1eadf 100644 --- a/app/konto/bestellungen/[orderNumber]/page.tsx +++ b/app/konto/bestellungen/[orderNumber]/page.tsx @@ -89,8 +89,6 @@ export default async function KontoBestellungDetailPage({ params }: { params: Pr - {canSwitchPayment && } - {order.trackingNumber && (

Sendungsverfolgung{order.carrier ? ` (${CARRIER_LABELS[order.carrier] ?? order.carrier})` : ""}

@@ -243,12 +241,17 @@ export default async function KontoBestellungDetailPage({ params }: { params: Pr )}
- {action && ( - ({ product: item.product, productName: item.productName, quantity: item.quantity }))} - /> + {(action || canSwitchPayment) && ( +
+ {action && ( + ({ product: item.product, productName: item.productName, quantity: item.quantity }))} + /> + )} + {canSwitchPayment && } +
)}