Fix: ensure Amazon stock badges are visible in Profitability and Top Movers tabs

This commit is contained in:
Christian Vidal Wolf
2026-04-27 11:25:09 +02:00
parent eadbaf3492
commit b01401272c
2 changed files with 35 additions and 6 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ const MoversTable: React.FC<{
{/* Stock Badge */}
<td className="px-6 py-3 text-center">
<StockBadge stock={stockMap?.get(item.sku)} />
<StockBadge stock={stockMap?.get(item.sku?.replace(/(DE|EN)$/i, ''))} />
</td>
{/* Vendor Stock Badge */}