From 492721679458d5b1a4c642f979d7f416252a4053 Mon Sep 17 00:00:00 2001 From: DanielS Date: Tue, 30 Jun 2026 22:09:12 +0200 Subject: [PATCH] limit recent orders visibility to last 5 --- shop/components/admin/recent-orders.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shop/components/admin/recent-orders.tsx b/shop/components/admin/recent-orders.tsx index 3ea7fa2..205d368 100644 --- a/shop/components/admin/recent-orders.tsx +++ b/shop/components/admin/recent-orders.tsx @@ -92,11 +92,11 @@ export function AdminRecentOrders() { Aktualisiert: {lastChecked.toLocaleTimeString('de-DE')} -
+
{orders.length === 0 ? (

Noch keine Bestellungen

) : ( - orders.map(order => { + orders.slice(0, 5).map(order => { const isNew = newOrderIds.has(order.id) const customerName = order.customer_data?.company_name ||